On this page
Key takeaways
- Every server gets an IPv4 and an IPv6 address from the start.
- A rule for IPv4 does not apply to IPv6. If you open or close a port, check the rules for both, or a service you thought was closed can still be reachable.
- Add an A record for the IPv4 address and an AAAA record for the IPv6 address, so visitors on either network find the server.
Every server gets an IPv4 and an IPv6 address from the start. Most people only use the first, and forget that a firewall has to cover both.
Two addresses, one server
The IPv4 address is the one you log in with and see in the dashboard. The IPv6 address reaches the same server, and more and more visitors arrive over it.
Cover both in the firewall
A rule for IPv4 does not apply to IPv6. If you open or close a port, check the rules for both, or a service you thought was closed can still be reachable.
Make your services listen on both
A web server or a database may listen on IPv4 only until you tell it otherwise. Check its configuration, then test from outside with both ssh -4 and ssh -6.
Publish both in DNS
Add an A record for the IPv4 address and an AAAA record for the IPv6 address, so visitors on either network find the server.
Runs Cloudvix and is responsible for the guides published here.