Issue with ipswap.sh when using IPv6

Imtek

Verified User
Joined
Dec 11, 2005
Messages
227
Location
The Netherlands
We are currently planning some migrations, we use ipswap.sh for changing ip's in DirectAdmin for the IPv4 and IPv6 ip change.


We already tested updating the the IPv4/IPv6 with the ipswap.sh script, once we run the update for the IPv4 ip everything is changed correctly.


Once we change the IPv6 ip we got a issue because the the brackets are not parsed left and right of the IPv6 addres in primarily NGINX/other configs. Ports like 80 and 443 are directly put behind the IPv6 address and not after the bracket.


The IPv6 ip is linked to the primary IPv4 ip address, we used the default nginx_apache proxy, we already tried rewriting the configurations, we do not use any custom templates.


Any ideas?
 
Hello,

Do you have customized configs for NGINX? Did you try with standard configs?

Are you using a full formatted IPv6.

When we had an issue with swapping IPv6 John said:

...be sure to change :: with all required 0:0:0:0 entries.


wrong format: 2a01:7c8:dXXX:4d4::1
 
Hello,

Do you have customized configs for NGINX? Did you try with standard configs?

Are you using a full formatted IPv6.

When we had an issue with swapping IPv6 John said:




wrong format: 2a01:7c8:dXXX:4d4::1

Hi Alex, no custom custombuild config templates or other custom template issue, your tip regarding the wrong format might be a good one, i will test that! Thanks!
 
Back
Top