Public | Automated Build

Last pushed: 2 days ago
Short Description
Transparent proxy server that works as a poor man's VPN
Full Description

README

Transparent proxy server that works as a poor man's VPN

Installation

Copy bin/sshuttle into your executable folder (like /usr/local/bin or $HOME/bin):

sudo curl --location --output /usr/local/bin/sshuttle "https://github.com/timonier/sshuttle/raw/master/bin/sshuttle"
sudo chmod +x /usr/local/bin/sshuttle

Linux users can use the installer:

curl --location "https://github.com/timonier/sshuttle/raw/master/bin/installer" | sudo sh -s -- install

Usage

Run the command sshutle:

# See all sshuttle options

sshuttle --help

# Run sshuttle

sshuttle \
    --remote username@sshserver \
    --ssh-cmd 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null' \
    0/0
# client: Connected.

Note 1: To stop sshuttle, you have to send a SIGINT signal. If you send a SIGTERM or a SIGKILL, the iptables chain sshuttle-12300 will not be flushed.

Note 2: You can define the path of the SSH key via the environment variable SSH_KEY (default value is ${HOME}/.ssh/id_rsa).

Contributing

  1. Fork it.
  2. Create your branch: git checkout -b my-new-feature.
  3. Commit your changes: git commit -am 'Add some feature'.
  4. Push to the branch: git push origin my-new-feature.
  5. Submit a pull request.

Note: Use the script bin/build to test your modifications locally.

Links

Docker Pull Command
Owner
timonier
Source Repository

Comments (0)