Microsoft WindowsΒΆ

Currently there is no built in support for running sshuttle directly on Microsoft Windows.

What we can really do is to create a Linux VM with Vagrant (or simply Virtualbox if you like). In the Vagrant settings, remember to turn on bridged NIC. Then, run sshuttle inside the VM like below:

sshuttle -l -x -x 0/0 excludes NAT traffic of Vagrant and excludes traffic to local area network (assuming that we’re using subnet).

Assuming the VM has the IP obtained on the bridge NIC (we can configure that in Vagrant), we can then ask Windows to route all its traffic via the VM by running the following in cmd.exe with admin right:

route add mask