mirror of https://github.com/CrimsonTome/tldr.git
Update sshuttle.md
parent
bf862fe6a8
commit
1e1243f27e
|
@ -7,10 +7,10 @@
|
||||||
|
|
||||||
`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||||
|
|
||||||
- Forward all IPv4 TCP and DNS traffic via a remote SSH server:
|
- Forward all IPv4 TCP and DNS traffic:
|
||||||
|
|
||||||
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||||
|
|
||||||
- Forward all IPv4 and IPv6 traffic via a remote SSH server:
|
- 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}}`
|
`sudo sshuttle --remote={{username}}@{{sshserver}} --method=tproxy {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`
|
||||||
|
|
Loading…
Reference in New Issue