Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/infra/spark/interplane-forged-tunnel.service # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / infra / spark / interplane-forged-tunnel.service` 23 lines ยท 1158 bytes Raw Blame History 1 # INTERPLANE Forge public path, spark side: the hub's 127.0.0.1:18480 reaches forged on spark 2 # 127.0.0.1:18480 (reverse tunnel; the hub end binds loopback only). Always on. Install: infra/DEPLOY.md 3 # "Service". Same ssh options as forged-tunnel.sh _loop (which ran in tmux before this unit). 4 [Unit] 5 Description=INTERPLANE Forge reverse tunnel: hub 127.0.0.1:18480 -> spark 127.0.0.1:18480 (forged) 6 After=network-online.target 7 StartLimitIntervalSec=0 8 9 [Service] 10 Type=simple 11 # ExitOnForwardFailure: if the hub end is still held by a session the hub's sshd has not dropped yet 12 # (infra/spark/README-edge.md, hub sshd keepalive), exit and retry instead of staying up without the 13 # forward. A retry every 5 s (the tmux loop waited 10 s); no RestartSteps, whose backoff never resets. 14 ExecStart=/usr/bin/ssh -N -o BatchMode=yes -o ConnectTimeout=30 -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -R 127.0.0.1:18480:127.0.0.1:18480 hub 15 Restart=always 16 RestartSec=5s 17 # ssh -N never needs privileges; the owner account can sudo (SecurityTighten, 2026-11-10). 18 NoNewPrivileges=yes 19 CPUAffinity=2 20 Nice=10 21 22 [Install] 23 WantedBy=default.target