User Tools

Site Tools


vpn-ssh-tap

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
vpn-ssh-tap [2020/07/25 01:59]
robm
vpn-ssh-tap [2020/07/25 12:28]
robm [VPN via SSH TAP interfaces]
Line 21: Line 21:
  
 <code> <code>
 +VM_HOST=192.168.167.237
 sudo ip link add br0 up type bridge sudo ip link add br0 up type bridge
 +sudo ip link set eth0 up master br0
 sudo ssh \ sudo ssh \
   -o PermitLocalCommand=yes \   -o PermitLocalCommand=yes \
Line 28: Line 30:
   -w 5:5 \   -w 5:5 \
   -t \   -t \
-  root@192.168.167.237 \+  root@${VM_HOST} \
   "ip link set tap5 up master br0"   "ip link set tap5 up master br0"
 </code> </code>
vpn-ssh-tap.txt · Last modified: 2020/08/06 11:48 by robm