https://github.com/sshuttle/sshuttle

https://github.com/sshuttle/sshuttle simulates a VPN, allowing us to route our traffic through the proxy without the use of proxychains (or an equivalent).

Only on linux targets and ssh is mandatory.

The base command for connecting to a server with sshuttle is as follows:

sshuttle -r <username>@<address> <subnet>

Use the --ssh-cmd flag for a custom ssh connection (useful for key-based connection)

sshuttle -r user@address --ssh-cmd "ssh -i KEYFILE" SUBNET

If the relay machine is part of the targetted subnet, use the -x <IP address> flag to exclude it (else the tool will crash).