This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
vpn-ssh-tap [2020/07/25 00:12] robm created |
vpn-ssh-tap [2020/07/25 12:28] robm [VPN via SSH TAP interfaces] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Useful to run the following on both local and remote, to get a sense of what's happening: | Useful to run the following on both local and remote, to get a sense of what's happening: | ||
- | < | + | * '' |
- | bridge monitor | + | * '' |
- | </ | + | * '' |
+ | * '' | ||
VM, where eth1 is connected to the network I want to make my RPi appear in: | VM, where eth1 is connected to the network I want to make my RPi appear in: | ||
< | < | ||
- | ip link add br0 type bridge | + | ip link add br0 up type bridge |
- | ip link add br0 up type bridge | + | ip address |
- | dhclient -r eth1 && | + | ip address flush dev eth1 # Remove eth1's addresses completely |
- | ip link set eth1 down | + | ip link set eth1 master br0 # Attach |
- | ip link set eth1 up | + | |
</ | </ | ||
Line 20: | Line 21: | ||
< | < | ||
- | ip link add br0 type bridge | + | VM_HOST=192.168.167.237 |
- | ip link del br0 | + | sudo ip link add br0 up type bridge |
- | ip link add br0 up type bridge | + | sudo ip link set eth0 up master |
- | ssh -o PermitLocalCommand=yes -o " | + | sudo ssh \ |
+ | -o PermitLocalCommand=yes | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | |||
+ | ===== Debugging ===== | ||
+ | |||
+ | I found [[https:// |