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
192e5b36
Commit
192e5b36
authored
Jan 20, 2013
by
Jim Wyllie
Committed by
Brian May
Sep 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some Ubuntu notes
parent
4036b7df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
6 deletions
+24
-6
README.md
README.md
+24
-6
No files found.
README.md
View file @
192e5b36
...
@@ -59,19 +59,34 @@ Prerequisites
...
@@ -59,19 +59,34 @@ Prerequisites
Linux.)
Linux.)
-
If you use MacOS or BSD on your client machine:
-
If you use MacOS or BSD on your client machine:
Your kernel needs to be compiled with
IPFIREWALL_FORWARD
Your kernel needs to be compiled with
`IPFIREWALL_FORWARD`
(MacOS has this by default) and you need to have ipfw
(MacOS has this by default) and you need to have ipfw
available. (The server doesn't need to be MacOS or BSD.)
available. (The server doesn't need to be MacOS or BSD.)
This is how you use it:
Obtaining sshuttle
------------------
-
First, go get PyXAPI from the link above
-
Clone github.com/jwyllie83/sshuttle/tree/local
Usage on (Ubuntu) Linux
-----------------------
-----------------------
-
<tt>
git clone git://github.com/apenwarr/sshuttle
</tt>
-
`cd packaging; ./make_deb`
on your client machine. You'll need root or sudo
access, and python needs to be installed.
-
`sudo dpkg -i ./sshuttle-VERSION.deb`
-
Check out the files in
`/etc/sshuttle`
; configure them so your tunnel works
-
`sudo service sshuttle start`
Usage on other Linuxes and OSes
-------------------------------
-
The most basic use of sshuttle looks like:
<tt>./sshuttle -r username@sshserver 0.0.0.0/0 -vv</tt>
<tt>./sshuttle -r username@sshserver 0.0.0.0/0 -vv</tt>
-
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
...
@@ -91,6 +106,9 @@ then the remote ssh password. Or you might have sudo and ssh set
...
@@ -91,6 +106,9 @@ then the remote ssh password. Or you might have sudo and ssh set
up to not require passwords, in which case you won't be
up to not require passwords, in which case you won't be
prompted at all.)
prompted at all.)
Usage Notes
-----------
That's it! Now your local machine can access the remote network as if you
That's it! Now your local machine can access the remote network as if you
were right there. And if your "client" machine is a router, everyone on
were right there. And if your "client" machine is a router, everyone on
your local network can make connections to your remote network.
your local network can make connections to your remote network.
...
...
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