Quick Guide Accessing IPv4 Systems from an IPv6 Server

vs2-free-users

Active Member
Joined
Jun 8, 2023
Messages
234
Reaction score
115
Credits
1,565
Quick Guide Accessing IPv4 Systems from an IPv6 Server


- The first thing to do is to log in to the server

Code:
ssh [user]@[host]

Example:

ssh [email protected]


- Now look for a public NAT64 server e.g. from

- Then we create a backup of the existing resolv.conf so we can restore it if necessary.

Code:
cp -a /etc/resolv.conf [backup path]

Example:
cp -a /etc/resolv.conf /etc/resolv.conf.ba

- Now open the resolv.conf file with the editor of your choice e.g. vim
Code:
[editor] /etc/resolv.conf

Example:

vim /etc/resolv.conf

- Now go into edit mode with the i key, delete the existing entries and insert the nameservers of NAT64.

Code:
search blue.kundencontroller.de
options rotate
nameserver [first nameserver]
nameserver [second nameserver]
nameserver [third nameserver]

Example:

search blue.customercontroller.com
options rotate
nameserver 2a00:1098:2b::1
nameserver 2a00:1098:2c::1
nameserver 2a01:4f8:c2c:123f::1


- Now we save the whole thing by going to the menu with the ESC key
Code:
:wq

and confirm with ENTER. This saves the file (w) and exits vim (q).

- Finally we check again if pure IPv4 pages are reachable now. (You should see html code)
Code:
wget -O - [IPv4 page]

Example:
wget -O - https://github.com/vs2-free-users
 




Latest posts

Top