Skip to content

Commit

Permalink
Fix description of excludes in Windows setup
Browse files Browse the repository at this point in the history
And some subtle grammar.

Closes: #66
  • Loading branch information
KS Chan authored and brianmay committed Jan 20, 2016
1 parent 0392a77 commit 1153386
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ NIC. Then, run sshuttle inside the VM like below::

sshuttle -l 0.0.0.0 -x 10.0.0.0/8 -x 192.168.0.0/16 0/0

10.0.0.0/8 excludes NAT traffics of Vagrant and 192.168.0.0/16 excludes
traffics to my router.
10.0.0.0/8 excludes NAT traffic of Vagrant and 192.168.0.0/16 excludes
traffic to local area network (assuming that we're using 192.168.0.0 subnet).

Assuming the VM has the IP 192.168.1.200 obtained on the bridge NIC (we can
configure that in Vagrant), we can then ask windows to route all its traffic
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 0.0.0.0 mask 0.0.0.0 192.168.1.200

0 comments on commit 1153386

Please sign in to comment.