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.
Table of Contents
Configure IPv6-Only VPS Access to IPv4 Address
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
Configure IPv6-Only VPS Access from IPv4 Address
yum update -y && yum upgrade -y
Install Extra Packages for Enterprise Linux (EPEL)
yum install -y epel-release
yum -y install nginx
Start Nginx Service
systemctl start nginx systemctl enable nginx
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.
systemctl status firewalld
Add AAAA (IPv6) DNS record into Cloudflare platform