1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:42:09 +02:00

sshuttle: add page (#1802)

This commit is contained in:
Starbeamrainbowlabs 2018-01-03 14:22:13 +00:00 committed by GitHub
commit 15c79809cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

16
pages/linux/sshuttle.md Normal file
View 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:
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
- Use the tproxy method to forward all IPv4 and IPv6 traffic:
`sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`

16
pages/osx/sshuttle.md Normal file
View 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:
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
- Use the tproxy method to forward all IPv4 and IPv6 traffic:
`sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`