Why an IPv6-only VPS?
IPv4 addresses ran out years ago: they are now bought and leased at a high price, and that cost ends up in the price of servers. IPv6, on the other hand, offers a practically unlimited number of addresses. By doing without IPv4, we can offer a VPS from €1.49 a month, with a public IPv6 address just for you.
Most major services are already reachable over IPv6: Debian and Ubuntu repositories, Google, Cloudflare, Let's Encrypt and many more. For the few sites that are not yet, there are simple solutions, described below.
1. Check that your connection has IPv6
To connect to your VPS, your own connection needs IPv6. Most French providers (Free, Orange, SFR, Bouygues) enable it by default, as do most mobile plans; other countries vary, so check yours. To be sure, open a test site such as test-ipv6.com, or type this in a terminal:
# Linux and Windows
ping -6 ipv6.google.com
# macOS
ping6 ipv6.google.com
If you get replies, you are all set. If not, check that IPv6 is enabled in your router settings, or contact us before ordering.
2. Connect over SSH
You will find your VPS's IPv6 address in your customer area. SSH works as usual:
ssh root@2001:db8::10
To copy files with scp, put the address in square brackets, otherwise the colons in the IPv6 address are mistaken for the path separator:
scp fichier.txt root@[2001:db8::10]:/root/
So you do not have to remember the address, add a shortcut to the ~/.ssh/config file on your computer:
Host monvps
HostName 2001:db8::10
User root
After that, ssh monvps is enough. Of course, replace 2001:db8::10 with your VPS's address.
3. Give your VPS a domain name
With IPv6 you do not create a DNS record of type A but of type AAAA. In your domain's DNS zone, add for example vps.example.com as an AAAA record pointing to your server's address. Let's Encrypt certificates work normally over IPv6, for example with certbot.
4. Reach sites that are still IPv4-only (GitHub…)
Some services are still not reachable over IPv6. The best known is GitHub: git clone of a github.com repository fails from an IPv6-only VPS. To check whether a site has an IPv6 address:
getent ahosts github.com
If only addresses with dots (IPv4) appear, the site has no IPv6.
The solution is a NAT64/DNS64 service. Its DNS server "translates" IPv4 sites into special IPv6 addresses, and its gateway relays the traffic to IPv4. All you need to do is replace your VPS's DNS servers with the service's. Free public services exist, such as nat64.net. The step-by-step setup is in our guide on using GitHub from an IPv6-only VPS.
What about Docker?
Docker works on a KVM VPS. To download images from Docker Hub, use its IPv6 endpoint, or go through a NAT64 service as above:
docker pull registry.ipv6.docker.com/library/nginx:latest
5. Make your site visible to visitors on IPv4
Some visitors still do not have IPv6. To let everyone see your site, the simplest method is to go through Cloudflare, which is free for a personal site:
- Add your domain to Cloudflare and use its DNS servers.
- Create an
AAAArecord pointing to your VPS's IPv6 address, with the proxy enabled (orange cloud). - Cloudflare answers visitors over IPv4 and IPv6 alike, and forwards requests to your server over IPv6.
- In Cloudflare's SSL/TLS settings, choose "Full (strict)" mode and install a certificate on your server (Let's Encrypt or a Cloudflare origin certificate).
This method works for websites and APIs over HTTP or HTTPS. For other services, such as a game server or an SSH connection, your users will need IPv6.