From 5657efd441844b0205a66efd6d4ac9a6d0b60519 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 14 Dec 2017 20:38:07 +0000 Subject: [PATCH] Create sshuttle.md --- pages/osx/sshuttle.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/osx/sshuttle.md diff --git a/pages/osx/sshuttle.md b/pages/osx/sshuttle.md new file mode 100644 index 0000000000..8ce70d5165 --- /dev/null +++ b/pages/osx/sshuttle.md @@ -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}}`