Saturday, May 27, 2017

6tunnel allow ipv4 application interract with ipv6 services

***information
server address : 2002::2/64
client address: 2002::1/64

1- on client add ipv6
$ sudo ifconfig eth0 inet6 add 2002::2/64

2- to enable only ipv6 for ssh server, uncomment the following line in /etc/ssh/sshd_config

ListenAddress ::

3- on client install 6tunnel
$ sudo apt-get install 6tunnel

4- now use 6tunnel to make a forwarding from localhost port 222 to remote ip 2002::2 port 22

 $ sudo 6tunnel -1 222 2002::2 22

5- to remote to ipv6 address from localhost address
$ ssh -l user1 -p 222 localhost


No comments:

Post a Comment