sshuttle -r <user>@<host> <subnet>Transparently routes a subnet through SSH — like a poor man’s VPN, no config on the remote side.
Example
sshuttle -r user@pivot 172.16.0.0/24A transparent proxy that tunnels a whole subnet over a plain SSH connection, with DNS support and no special software on the remote host.
sudo apt install sshuttlesshuttle -r <user>@<host> <subnet>Transparently routes a subnet through SSH — like a poor man’s VPN, no config on the remote side.
Example
sshuttle -r user@pivot 172.16.0.0/24sshuttle -r <user>@<host> 0/0Routes all traffic through the host.
Example
sshuttle -r user@pivot 0/0sshuttle -r <user>@<host> --dns <subnet>Also sends DNS queries through the tunnel so internal names resolve.
Example
sshuttle -r user@pivot --dns 172.16.0.0/24sshuttle -r <user>@<host> <subnet> -x <exclude>Excludes an address, such as the gateway, from the tunnel.
Example
sshuttle -r user@pivot 172.16.0.0/24 -x 172.16.0.1sshuttle -r <user>@<host> <subnet> --ssh-cmd "ssh -i <key>"Passes extra SSH options such as a key file.
Example
sshuttle -r user@pivot 172.16.0.0/24 --ssh-cmd "ssh -i id_ed25519"sshuttle -r <user>@<host> <subnet> -vVerbose output for debugging the tunnel.
Example
sshuttle -r user@pivot 172.16.0.0/24 -vvsshuttle -r <user>@<host> <subnet> -DRuns as a daemon in the background.
Example
sshuttle -r user@pivot 172.16.0.0/24 -DA fast TCP/UDP tunnel over HTTP secured with SSH, in a single Go binary — used to build SOCKS proxies and port forwards through firewalls during pivoting.
A modern tunneling tool that exposes internal networks through a lightweight TUN interface — pivot without proxychains, using normal routing.
Forces any program’s TCP traffic through a chain of SOCKS or HTTP proxies — the standard way to run tools across a SOCKS pivot.
OpenSSH: secure remote login, key management, file transfer and port forwarding — local, remote and dynamic SOCKS tunnels.