IPv6 Only VPS Server is VPS Server without IPv4 address assigned. This kind of server has only IPv6 addresses assigned. To connect to this VPS you need to use pure IPv6 connection (connect from already enabled IPv6 local computer or server/system).

Since I got an IPv6-Only VPS from EUServ, I am trying to use it like what I can do as a normal IPv4 machine. The first thing I have to resolve is how to get them access to IPv4 world and how IPv4 is going to access the service provided by this IPv6-only machine.

This post summarizes some steps how I configured this IPv6-only vps’s outbound access and inbound access for IPv4 network. 

Configure IPv6-Only VPS Access to IPv4 Address

This is outbound access from IPv6-Only VPS to IPv4 World.

If you will need your IPv6 only VPS to access IPv4 WebSites or Servers, here is the command to use TREX DNS64 + NAT64 services to have this happen. 

After logged into your IPv6-only server, just paste following command:

echo -e "nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf

You should be able to access IPv4 world now. Here are some test commands:

  • curl ifconfig.net
  • curl myip.ipip.net
  • (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1 | tee nench.log
Ping6 command to test ping connectivity in IPv6 world.

Configure IPv6-Only VPS Access from IPv4 Address

This is inbound access from IPv4 World to IPv6-Only VPS.
Steps to Create a IPv6 only website and make it accessable from IPv4 address space as ordinary website.
Those steps is using CentOS7 IPv6 Only server as an example.
1  Updating and Upgrading  Repository Package
yum update -y && yum upgrade -y
2  Install Extra Packages for Enterprise Linux (EPEL)

yum install -y epel-release
3  Install Nginx
yum -y install nginx
4  Start Nginx Service
systemctl start nginx
systemctl enable nginx
5  Verify Nginx Service
systemctl status nginx
curl localhost
Also you might want to verify it from other Internet server to access your IPv6-only machine to see if it is accessable.
If there is a problem, you might want to check if firewalld service is active and blocking it.
systemctl status firewalld
6  Add AAAA (IPv6) DNS record into Cloudflare platform
Now you can access it using this url from any machine, either ipv4 host or ipv6 host, //ipv6.51sec.org.

References

By Jon

Leave a Reply