sshuttle

sshuttle

TLDR

Forward all IPv4 TCP traffic via a remote SSH server

>_ sshuttle --remote=[username]@[sshserver] [0.0.0.0/0]
copy

Also forward all DNS traffic to the server's default DNS resolver

>_ sshuttle --dns --remote=[username]@[sshserver] [0.0.0.0/0]
copy

Forward all traffic except that which is bound for a specific subnet

>_ sshuttle --remote=[username]@[sshserver] [0.0.0.0/0] --exclude [192.168.0.1/24]
copy

Use the tproxy method to forward all IPv4 and IPv6 traffic

>_ sshuttle --method=tproxy --remote=[username]@[sshserver] [0.0.0.0/0] [::/0] --exclude=[your_local_ip_address] --exclude=[ssh_server_ip_address]
copy

Copied to clipboard
free 100$ digital ocean credit