2017-12-14 20:38:07 +00:00
|
|
|
# sshuttle
|
|
|
|
|
|
|
|
> Transparent proxy server that tunnels traffic over an SSH connection.
|
|
|
|
> Doesn't require admin, or any special setup on the remote SSH server.
|
|
|
|
|
|
|
|
- Forward all IPv4 TCP traffic via a remote SSH server:
|
|
|
|
|
|
|
|
`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
|
|
|
|
2017-12-19 12:07:44 +00:00
|
|
|
- Forward all IPv4 TCP and DNS traffic:
|
2017-12-14 20:38:07 +00:00
|
|
|
|
|
|
|
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
|
|
|
|
2017-12-19 12:07:44 +00:00
|
|
|
- Use the tproxy method to forward all IPv4 and IPv6 traffic:
|
2017-12-14 20:38:07 +00:00
|
|
|
|
2017-12-19 12:07:44 +00:00
|
|
|
`sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`
|