Last active
September 12, 2019 09:34
-
-
Save k37y/44a1b52a7df9bf7cca13751b58f5fa58 to your computer and use it in GitHub Desktop.
This file contains hidden or 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=Setup a secure tunnel to %I | |
After=network-online.target | |
PartOf=vpn.service | |
[Service] | |
User=kevy | |
ExecStart=/usr/bin/polipo -c /etc/polipo/polipo.conf | |
RestartSec=5 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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=Setup a proxy | |
After=network-online.target | |
Requires=proxy.service | |
[Service] | |
User=kevy | |
ExecStart=/usr/bin/ssh -i /key.pem -NT -D 9999 ubuntu@<IP> | |
RestartSec=5 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment