Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


ssh_p2p_tunnel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ssh_p2p_tunnel [2014/07/09 10:58] (current)
admin created
Line 1: Line 1:
 +{{tag>[ssh security linux tunnel vpn]}} 
 +~~NOTOC~~ 
 +=====SSH point-to-point tunnel===== 
 +<code>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</code>
ssh_p2p_tunnel.txt · Last modified: 2014/07/09 10:58 by admin