doku:vpn_mit_ssh_erstellen
VPN mit ssh erstellen
ssh -w 1:1 <remote machine> # dabei werden jeweils die Devices tun1 lokal und remote angelegt
ifconfig tun1 192.168.99.1 pointopoint 192.168.99.2 # remote
ifconfig tun1 192.168.99.2 pointopoint 192.168.99.1 # lokal
Falls man in ein weiteres Netz hinter dem remote Rechner will, muss noch die entsprechende Route gesetzt werden.
ths
doku/vpn_mit_ssh_erstellen.txt · Zuletzt geändert: von ths