From 38866378f98b9351182b4fa0eaded5f3a2e2b0ac Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 14 Dec 2017 20:36:25 +0000 Subject: [PATCH 1/6] sshuttle: add page --- pages/linux/sshuttle.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/sshuttle.md diff --git a/pages/linux/sshuttle.md b/pages/linux/sshuttle.md new file mode 100644 index 0000000000..76313f4048 --- /dev/null +++ b/pages/linux/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}} From 5657efd441844b0205a66efd6d4ac9a6d0b60519 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 14 Dec 2017 20:38:07 +0000 Subject: [PATCH 2/6] 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}}` From bf862fe6a8eea89552cb1fbd5e3f5643dce0d32d Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 14 Dec 2017 20:38:29 +0000 Subject: [PATCH 3/6] Update sshuttle.md --- pages/linux/sshuttle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/sshuttle.md b/pages/linux/sshuttle.md index 76313f4048..8ce70d5165 100644 --- a/pages/linux/sshuttle.md +++ b/pages/linux/sshuttle.md @@ -13,4 +13,4 @@ - 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}} +`sudo sshuttle --remote={{username}}@{{sshserver}} --method=tproxy {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}` From 1e1243f27e103c5bf142b4e1d0d37b2864db8c0a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 18 Dec 2017 10:26:17 +0000 Subject: [PATCH 4/6] Update sshuttle.md --- pages/linux/sshuttle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/sshuttle.md b/pages/linux/sshuttle.md index 8ce70d5165..bc1c94506b 100644 --- a/pages/linux/sshuttle.md +++ b/pages/linux/sshuttle.md @@ -7,10 +7,10 @@ `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}}` -- 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}}` From b4d1086825fe6fdc98cfd1e810c18a0698c7f484 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 19 Dec 2017 12:07:35 +0000 Subject: [PATCH 5/6] Update sshuttle.md --- pages/linux/sshuttle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/sshuttle.md b/pages/linux/sshuttle.md index bc1c94506b..64ee5a506c 100644 --- a/pages/linux/sshuttle.md +++ b/pages/linux/sshuttle.md @@ -11,6 +11,6 @@ `sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}` -- Forward all IPv4 and IPv6 traffic: +- Use the tproxy method to 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 --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}` From a84568ea933bb1a50648cebea9660917e296b200 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 19 Dec 2017 12:07:44 +0000 Subject: [PATCH 6/6] Update sshuttle.md --- pages/osx/sshuttle.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/osx/sshuttle.md b/pages/osx/sshuttle.md index 8ce70d5165..64ee5a506c 100644 --- a/pages/osx/sshuttle.md +++ b/pages/osx/sshuttle.md @@ -7,10 +7,10 @@ `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}}` -- Forward all IPv4 and IPv6 traffic via a remote SSH server: +- Use the tproxy method to 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 --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`