mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 10:18:51 +03:00
Create sshuttle.md
This commit is contained in:
parent
38866378f9
commit
5657efd441
16
pages/osx/sshuttle.md
Normal file
16
pages/osx/sshuttle.md
Normal file
@ -0,0 +1,16 @@
|
||||
# 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 via a remote SSH server:
|
||||
|
||||
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||
|
||||
- Forward all IPv4 and IPv6 traffic via a remote SSH server:
|
||||
|
||||
`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
Block a user