the_open_door
coffee
ESEN
← Tools

sshuttle

Poor-man's VPN over SSH: routes a whole subnet through a pivot without proxychains.

An improvised VPN over an SSH session. Instead of configuring proxychains command by command, sshuttle transparently routes a whole subnet's traffic through a pivot host you can SSH into, so all your tools see the internal network with no extra setup. It only needs Python on the pivot.

Family Pivoting & tunnelling

Flags -r user@<pivot> <network>/24

Concepts Local port forwarding (SSH tunnel), Pivoting with sshuttle

Cheatsheet socat, ligolo & Meterpreter

Installation

pipx install sshuttle

Useful commands2 commands

Reference tool: it does not yet appear in a published machine on the blog, but it is part of the arsenal for its everyday use.