On-the-fly VPN over :ssh
web | docs | code | LGPL2.1+?

See also | :openvpn :ssh


Single connection
To create a single virtual connection, specify an IP address without an subnet mask or with a mask of /32. These are equivalent:

sshuttle -r user@host:port ip
sshuttle -r user@host:port ip/32


Manage multiple sshuttle connections with sshoot

sshoot create -r user@host:port name ip
sshoot start name
sshoot stop name

Mapping hosts to IP address

ip <tab> name
# values from sshoot create command, for example
# <tab> test_server

sshoot start name
ssh -p PORT user@name

Access remote ports from trusted local machine

Backlinks: openvpn

CC0 / Public domain dedication To the extent possible under law, d3vid seaward has waived all copyright and related or neighboring rights to "sshuttle in Grasmere notebook, including code snippets" (why? how?)