timonier/sshuttle
Transparent proxy server that works as a poor man's VPN
2.3K
Transparent proxy server that works as a poor man's VPN
⚠️ This project is no longer maintained. ⚠
# Define installation folder
export INSTALL_DIRECTORY=/usr/bin
# Use local installation
sudo bin/installer install
# Use remote installation
curl --location "https://gitlab.com/timonier/sshuttle/raw/master/bin/installer" | sudo sh -s -- install
Note: If you do not define INSTALL_DIRECTORY
, installer
will use in /usr/local/bin
.
Run the command sshuttle
:
# 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
).
docker pull timonier/sshuttle