mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-29 11:23:09 +01:00
Use correct rst formatting for inline monospace
This commit is contained in:
parent
fc5545ccde
commit
a90877b49b
14
README.rst
14
README.rst
@ -63,7 +63,7 @@ Additional information for TPROXY
|
|||||||
---------------------------------
|
---------------------------------
|
||||||
TPROXY is the only method that supports full support of IPv6 and UDP.
|
TPROXY is the only method that supports full support of IPv6 and UDP.
|
||||||
|
|
||||||
Full UDP or DNS support with the TPROXY method requires the `recvmsg()`
|
Full UDP or DNS support with the TPROXY method requires the ``recvmsg()``
|
||||||
syscall. This is not available in Python 2.7, however is in Python 3.5 and
|
syscall. This is not available in Python 2.7, however is in Python 3.5 and
|
||||||
later.
|
later.
|
||||||
|
|
||||||
@ -80,8 +80,8 @@ There are some things you need to consider for TPROXY to work:
|
|||||||
ip -6 route add local default dev lo table 100
|
ip -6 route add local default dev lo table 100
|
||||||
ip -6 rule add fwmark 1 lookup 100
|
ip -6 rule add fwmark 1 lookup 100
|
||||||
|
|
||||||
- The --auto-nets feature does not detect IPv6 routes automatically. Add IPv6
|
- The ``--auto-nets`` feature does not detect IPv6 routes automatically. Add IPv6
|
||||||
routes manually. e.g. by adding '::/0' to the end of the command line.
|
routes manually. e.g. by adding ``'::/0'`` to the end of the command line.
|
||||||
|
|
||||||
- The client needs to be run as root. e.g.::
|
- The client needs to be run as root. e.g.::
|
||||||
|
|
||||||
@ -89,14 +89,14 @@ There are some things you need to consider for TPROXY to work:
|
|||||||
|
|
||||||
- You may need to exclude the IP address of the server you are connecting to.
|
- You may need to exclude the IP address of the server you are connecting to.
|
||||||
Otherwise sshuttle may attempt to intercept the ssh packets, which will not
|
Otherwise sshuttle may attempt to intercept the ssh packets, which will not
|
||||||
work. Use the `--exclude` parameter for this.
|
work. Use the ``--exclude`` parameter for this.
|
||||||
|
|
||||||
- Similarly, UDP return packets (including DNS) could get intercepted and
|
- Similarly, UDP return packets (including DNS) could get intercepted and
|
||||||
bounced back. This is the case if you have a broad subnet such as
|
bounced back. This is the case if you have a broad subnet such as
|
||||||
``0.0.0.0/0`` or ``::/0`` that includes the IP address of the client. Use the
|
``0.0.0.0/0`` or ``::/0`` that includes the IP address of the client. Use the
|
||||||
`--exclude` parameter for this.
|
``--exclude`` parameter for this.
|
||||||
|
|
||||||
- You do need the `--method=tproxy` parameter, as above.
|
- You do need the ``--method=tproxy`` parameter, as above.
|
||||||
|
|
||||||
- The routes for the outgoing packets must already exist. For example, if your
|
- The routes for the outgoing packets must already exist. For example, if your
|
||||||
connection does not have IPv6 support, no IPv6 routes will exist, IPv6
|
connection does not have IPv6 support, no IPv6 routes will exist, IPv6
|
||||||
@ -131,7 +131,7 @@ Usage
|
|||||||
sshuttle -r username@sshserver 0.0.0.0/0 -vv
|
sshuttle -r username@sshserver 0.0.0.0/0 -vv
|
||||||
|
|
||||||
- By default sshuttle will automatically choose a method to use. Override with
|
- By default sshuttle will automatically choose a method to use. Override with
|
||||||
the `--method=` parameter.
|
the ``--method=`` parameter.
|
||||||
|
|
||||||
- There is a shortcut for 0.0.0.0/0 for those that value
|
- There is a shortcut for 0.0.0.0/0 for those that value
|
||||||
their wrists::
|
their wrists::
|
||||||
|
Loading…
Reference in New Issue
Block a user