HI All,
Just wanted to share my experience with moving to full IPv6 and the challenges I face, and since I am new and it is my first post, I will say that I searched these forums like a mad man to try and find solutions to my issue, but was unable to resolve it via this great community.
The issue is such a small one, but it had big implications, but the resolution meant that I was able to go to 100% IPv6 with the help of using CloudFlare as the DNS controller.
Once you make the required configuration to your network configuration file and make a static IPv6 address, you will need to go into settings and change the following:
Settings -> Server IP -> Insert your static IPv6 address here -> Click Save
Up the very top you will need to toggle on "Listen IPv6" button, although this will not modify your site configuration files, you will have to do this manually sadly.
Once the above is done, you will then need to browse to the following:
Browse to: Location in: /www/server/panel/vhost/
Nano or VI the conf files E.G "domain.com.conf" make sure you are in Sudo or you use the sudo command
At the very top you will see server configuration information, this will need to look like this!
server
{
listen 80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen [::]:80;
Now sadly there is no way to get the panel to do this automatically and you will need to do it manually, however there is a way to modify these files within the panel itself, you can do that by doing the following;
Click on Websites in the navigation menu
Click on the domain you want to configure
Scroll down until you see "Config" and click on that
Modify entries 1-6 to reflect the above
Once that is done you should be able to go 100% IPv6 without any issues, though I am using CloudFlare (Free version) as it has great IPv6 AAA record handling, I have not used the DNS manager in AAPANEL as I prefer to decentralise that away from the box.
I hope this helps someone out there and I hope AAPANEL consider doing the following one day;
- Create a networks menu in the navigation bar to allow one to make modifications to the network config files to manage both IPv4 and IPv6 configurations in full, a bit like the nmtui manager but in the web gui version 🙂
- Allow for automatically restarting network and NGINX services from within the control panel to set in stone the changes
These options might already be available via an app, I have not fully checked, but it would be awesome if it was native, and if they could do IPv6 with a little more accuracy would be awesome as well.
Cheers,
David.