, , , ,

SSH point-to-point tunnel

ssh -w 0:1 root@<remote_server> "ip addr add 192.168.2.1/24 dev tun1 && ip link set tun1 up"
ip addr add 192.168.2.2/24 dev tun0 && ip link set tun0 up