diff --git a/home/user/.config/systemd/user/ssh-proxy.service b/home/user/.config/systemd/user/ssh-proxy.service new file mode 100644 index 0000000..5a0230c --- /dev/null +++ b/home/user/.config/systemd/user/ssh-proxy.service @@ -0,0 +1,12 @@ +[Unit] +Description=SSH proxy +Requires=default.target +After=default.target + +[Service] +Type=simple +ExecStart=/usr/bin/ssh -o ControlMaster=no -o ExitOnForwardFailure=yes -vCTN -D 127.0.0.1:1080 server.vpn +Restart=on-failure + +[Install] +WantedBy=default.target \ No newline at end of file