diff --git a/sshtunnel1.service b/sshtunnel1.service index 3e9b2da..42ac471 100644 --- a/sshtunnel1.service +++ b/sshtunnel1.service @@ -3,6 +3,7 @@ Description=SSH Tunnel ConditionPathExists=|/usr/bin After=network.target +# host --> client; Weiterleitung von Port ... auf dem lokalen System an den Webserver (Port ...) auf server: [Service] User=root ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -L 12345:localhost:22 root@mgwywbvcwmot7vir.myfritz.net