Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
0392a779
Commit
0392a779
authored
Jan 20, 2016
by
Brian May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update usage documentation
parent
ee26157f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
manpage.rst
docs/manpage.rst
+8
-3
usage.rst
docs/usage.rst
+11
-8
No files found.
docs/manpage.rst
View file @
0392a779
...
@@ -37,6 +37,12 @@ Options
...
@@ -37,6 +37,12 @@ Options
netmask), and 0/0 ('just route everything through the
netmask), and 0/0 ('just route everything through the
VPN').
VPN').
.. option:: --method [auto|nat|tproxy|pf]
Which firewall method should sshuttle use? For auto, sshuttle attempts to
guess the appropriate method depending on what it can find in PATH. The
default value is auto.
.. option:: -l, --listen=[ip:]port
.. option:: -l, --listen=[ip:]port
Use this ip address and port number as the transparent
Use this ip address and port number as the transparent
...
@@ -278,7 +284,6 @@ there is no need for congestion control to be shared
...
@@ -278,7 +284,6 @@ there is no need for congestion control to be shared
between the two separate streams, so a tcp-based tunnel is
between the two separate streams, so a tcp-based tunnel is
fine.
fine.
.. seealso::
See Also
:manpage:`ssh(1)`, :manpage:`python(1)`
--------
:manpage:`ssh(1)`, :manpage:`python(1)`
docs/usage.rst
View file @
0392a779
...
@@ -6,25 +6,28 @@ Usage
...
@@ -6,25 +6,28 @@ Usage
For information on usage with Windows, see the :doc:`windows` section.
For information on usage with Windows, see the :doc:`windows` section.
For information on using the TProxy method, see the :doc:`tproxy` section.
For information on using the TProxy method, see the :doc:`tproxy` section.
-
Forward all traffic::
Forward all traffic::
sshuttle -r username@sshserver 0.0.0.0/0
sshuttle -r username@sshserver 0.0.0.0/0
- Use the :option:`sshuttle -r` parameter to specify a remote server.
- 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
:option:`sshuttle --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::
sshuttle -r username@sshserver 0/0
sshuttle -r username@sshserver 0/0
-
If you would also like your DNS queries to be proxied
If you would also like your DNS queries to be proxied
through the DNS server of the server you are connect to::
through the DNS server of the server you are connect to::
sshuttle --dns -r username@sshserver 0/0
sshuttle --dns -r username@sshserver 0/0
The above is probably what you want to use to prevent
The above is probably what you want to use to prevent
local network attacks such as Firesheep and friends.
local network attacks such as Firesheep and friends.
See the documentation for the :option:`sshuttle --dns` parameter.
(You may be prompted for one or more passwords; first, the local password to
(You may be prompted for one or more passwords; first, the local password to
become root using sudo, and then the remote ssh password. Or you might have
become root using sudo, and then the remote ssh password. Or you might have
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment