Created
September 19, 2016 21:57
-
-
Save theherk/8b1bf162a2403cca40f3dfd968be7853 to your computer and use it in GitHub Desktop.
systemd service unit file for sshuttle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=sshuttle service a permanent tunnel | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/sshuttle -r h4s@localhost:39111 0.0.0.0/0 --dns -D --pidfile=/var/run/sshuttle.pid -e 'ssh -i /home/h4s/.ssh/whtunnel2' | |
Restart=always | |
Type=forking | |
PIDFile=/var/run/sshuttle.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment