Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


ssh_p2p_tunnel

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
ssh_p2p_tunnel.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1