This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remember to add | |
#PermitTunnel yes | |
# in /etc/ssh/sshd_config | |
# create tun device on both machines | |
# ref: http://www.k336.org/2013/04/non-root-ssh-vpn.html | |
sudo ip tuntap add dev tun0 mode tun user oxyflour group oxyflour | |
# delete tun | |
sudo ip tuntap del dev tun0 mode tun |