To keep prices at the bottom, some providers sell plans with only an IPv6 address and charge extra for IPv4. They look like bargains, and for a VPN they're a trap. Here is what goes wrong, how to confirm it, and what to do.
Why a VPN needs IPv4
Two separate things break:
- Your devices can't reach the server. A large share of home internet connections, mobile networks, offices and hotels still have no IPv6. A VPN server that only has an IPv6 address is invisible from all of them. It might work from your home Wi-Fi and stop working the moment you leave.
- The server can't reach GitHub. Setup tools download software from GitHub, which, as of writing, doesn't serve over IPv6. An IPv6-only server fails at the download step unless the host provides a translation gateway (NAT64).
How to confirm what you have
On the server:
ip -4 addr show scope global
curl -4 -s ifconfig.me
If the first prints no address, or the second times out, the server has no IPv4. Compare with the plan details in your provider's panel, where it's usually listed as "IPv4: none" or an add-on you didn't buy.
What Nullsify shows
When the server can't download the agent, you'll see: "The VPS couldn't download the Nullsify agent from github.com. Check that it has outbound internet access (GitHub is blocked in some countries and on IPv6-only servers)." Every message is explained in Nullsify setup errors explained.
The fix: get an IPv4 address
Almost always the right answer is to add one:
- Vultr: the cheapest plans are IPv6-only. Choose a plan that includes IPv4.
- Hetzner: keep the Public IPv4 option switched on when you create the server. It costs a little extra but a VPN needs it.
- Scaleway: make sure the instance is given a public IPv4 address.
If the extra charge feels silly, compare it with the time you'll lose on a VPN that sometimes works. Our provider comparison and cost of a self-hosted VPN show that a VPN-capable server is still only a few euros a month.
What about adding IPv6 to a VPN that has IPv4?
That's a different matter. A VPN carrying only IPv4 can leak your IPv6 address, so a good config handles IPv6 on purpose, usually by capturing it so it can't leave outside the tunnel.
Other ways it shows up
- You SSH in over IPv6 happily, so the server seems fine, but the setup tool says it can't connect.
- The VPN connects from your home network and nowhere else.
- Package installs hang because the mirrors are IPv4-only.
All of these have the same root cause. Run curl -4 ifconfig.me before assuming anything else. It's step 3 of the pre-flight checklist, and the full list of installation problems is in VPN server installation errors and fixes.