1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/sshuttle.md
Starbeamrainbowlabs 1e1243f27e
Update sshuttle.md
2017-12-18 10:26:17 +00:00

16 lines
586 B
Markdown

# 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}}`
- Forward all IPv4 TCP and DNS traffic:
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
- Forward all IPv4 and IPv6 traffic:
`sudo sshuttle --remote={{username}}@{{sshserver}} --method=tproxy {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`