3 ms·
Actual VPN over SSH? The TUN device: -w local_tun[:remote_tun] Requests tunnel device forwarding with the specified tun(4) devices between the client (local_
by deeblering4 6y ago
Actual VPN over SSH? The TUN device:
-w local_tun[:remote_tun]
Requests tunnel device forwarding with the specified tun(4) devices between the client (local_tun) and the server (remote_tun).
The devices may be specified by numerical ID or the keyword “any”, which uses the next available tunnel device. If remote_tun is not specified, it defaults to “any”. See also the Tunnel and TunnelDevice directives in ssh_config(5).
If the Tunnel directive is unset, it will be set to the default tunnel mode, which is “point-to-point”. If a different Tunnel forwarding mode it desired, then it should be specified before -w
- rkeene2 6y agoExample of this at [0]. [0] https://rkeene.org/viewer/tmp/ssh-ip-tunnel.txt.htm https://rkeene.org/viewer/tmp/ssh-ip-tunnel.txt.htm
- anderspitman 6y agoThis will suffer from TCP-over-TCP performance issues. Projects like sshuttle, mentioned above, get around this.