@@ -37,14 +37,18 @@ Options
37
37
netmask), and 0/0 ('just route everything through the
38
38
VPN'). Any of the previous examples are also valid if you append
39
39
a port or a port range, so 1.2.3.4:8000 will only tunnel traffic
40
- that has as the destination port 8000 of 1.2.3.4 and
40
+ that has as the destination port 8000 of 1.2.3.4 and
41
41
1.2.3.0/24:8000-9000 will tunnel traffic going to any port between
42
42
8000 and 9000 (inclusive) for all IPs in the 1.2.3.0/24 subnet.
43
- It is also possible to use a name in which case the first IP it resolves
44
- to during startup will be routed over the VPN. Valid examples are
45
- example.com, example.com:8000 and example.com:8000-9000.
43
+ A hostname can be provided instead of an IP address. If the
44
+ hostname resolves to multiple IPs, all of the IPs are included.
45
+ If a width is provided with a hostname that the width is applied
46
+ to all of the hostnames IPs (if they are all either IPv4 or IPv6).
47
+ Widths cannot be supplied to hostnames that resolve to both IPv4
48
+ and IPv6. Valid examples are example.com, example.com:8000,
49
+ example.com/24, example.com/24:8000 and example.com:8000-9000.
46
50
47
- .. option :: --method <auto|nat|nft|tproxy|pf >
51
+ .. option :: --method <auto|nat|nft|tproxy|pf|ipfw >
48
52
49
53
Which firewall method should sshuttle use? For auto, sshuttle attempts to
50
54
guess the appropriate method depending on what it can find in PATH. The
@@ -64,9 +68,9 @@ Options
64
68
You can use any name resolving to an IP address of the machine running
65
69
:program: `sshuttle `, e.g. ``--listen localhost ``.
66
70
67
- For the tproxy and pf methods this can be an IPv6 address. Use this option
68
- with comma separated values if required, to provide both IPv4 and IPv6
69
- addresses, e.g. ``--listen 127.0.0.1:0,[::1]:0 ``.
71
+ For the nft, tproxy and pf methods this can be an IPv6 address. Use
72
+ this option with comma separated values if required, to provide both
73
+ IPv4 and IPv6 addresses, e.g. ``--listen 127.0.0.1:0,[::1]:0 ``.
70
74
71
75
.. option :: -H , --auto-hosts
72
76
@@ -92,6 +96,10 @@ Options
92
96
are taken automatically from the server's routing
93
97
table.
94
98
99
+ This feature does not detect IPv6 routes. Specify IPv6 subnets
100
+ manually. For example, specify the ``::/0 `` subnet on the command
101
+ line to route all IPv6 traffic.
102
+
95
103
.. option :: --dns
96
104
97
105
Capture local DNS requests and forward to the remote DNS
@@ -122,9 +130,9 @@ Options
122
130
123
131
.. option :: --python
124
132
125
- Specify the name/path of the remote python interpreter.
126
- The default is just `` python ``, which means to use the
127
- default python interpreter on the remote system's PATH.
133
+ Specify the name/path of the remote python interpreter. The
134
+ default is to use `` python3 `` (or `` python ``, if `` python3 ``
135
+ fails) in the remote system's PATH.
128
136
129
137
.. option :: -r <[username@]sshserver[:port] >, --remote= <[username@]sshserver[:port] >
130
138
@@ -221,7 +229,8 @@ Options
221
229
222
230
.. option :: --disable-ipv6
223
231
224
- If using tproxy or pf methods, this will disable IPv6 support.
232
+ Disable IPv6 support for methods that support it (nft, tproxy, and
233
+ pf).
225
234
226
235
.. option :: --firewall
227
236
0 commit comments