File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,12 @@ entire subnet to the VPN.
36
36
single IP address), 1.2.3.4/32 (equivalent to 1.2.3.4),
37
37
1.2.3.0/24 (a 24-bit subnet, ie. with a 255.255.255.0
38
38
netmask), and 0/0 ('just route everything through the
39
- VPN').
39
+ VPN'). In addition, it is also possible to filter
40
+ additionally on the tcp port to include/exclude.
41
+ This is done by adding : port at the end of your netmask.
42
+ Note that ` :port ` is also valid. In this case, the netmask
43
+ will be defaulted to 0/0. Valid examples are ` :80 ` ,
44
+ ` 0:80 ` , ` 1.2.3.4:80 ` and ` 1.2.3.4/24:80 ` .
40
45
41
46
-l, --listen=* [ ip:] port*
42
47
: use this ip address and port number as the transparent
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def parse_ipport(s):
65
65
dns capture local DNS requests and forward to the remote DNS server
66
66
python= path to python interpreter on the remote server
67
67
r,remote= ssh hostname (and optional username) of remote sshuttle server
68
- x,exclude= exclude this subnet (can be used more than once)
68
+ x,exclude= exclude this subnet and/or port (can be used more than once)
69
69
exclude-from= exclude the subnets in a file (whitespace separated)
70
70
v,verbose increase debug message verbosity
71
71
e,ssh-cmd= the command to use to connect to the remote [ssh]
You can’t perform that action at this time.
0 commit comments