autossh: forward the homeassistant port
authorKristof Provost <kp@FreeBSD.org>
Sun, 5 May 2024 15:57:02 +0000 (17:57 +0200)
committerKristof Provost <kp@FreeBSD.org>
Sun, 5 May 2024 15:57:02 +0000 (17:57 +0200)
image/overlay/domotica/etc/rc.d/autossh

index cb550a0..a91df8d 100755 (executable)
@@ -19,7 +19,7 @@ autossh_start()
        /usr/local/bin/sudo -u kp \
            /usr/local/bin/tmux new-session -d \
            "autossh -M 0 -p 2207 -N -R ${control_port}:localhost:22 \
-           -R ${http_port}:localhost:80 \
+           -R ${http_port}:localhost:8123 \
            -o ExitOnForwardFailure=yes \
            domotica@kosmos.sigsegv.be"
 }