Skip to content

Instantly share code, notes, and snippets.

@cod3fr3ak
cod3fr3ak / sshuttle.service
Created June 17, 2021 01:20 — forked from theherk/sshuttle.service
systemd service unit file for sshuttle
[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