docs(rosenpass): commit the Link B host artifacts and the endpoint decision
Link B (rpi wg-remote 10.20.0.2 <-> linode wg0 10.20.0.1) is now under
Rosenpass too. The pieces that only existed on the hosts are committed
here with an install/diagnosis write-up, because all three are runtime
state someone will have to rebuild:
- rosenpass-upnp.{sh,service,timer} - re-assert the permanent UPnP mapping
UDP 9999 -> 192.168.1.125 every 15 min (the router has no admin panel,
and a dropped mapping is silent).
- linkb-rollback-{rpi,linode}.sh - the self-cancelling watchdogs; this link
carries the only SSH path to the linode, so the rollback is local and
staged on both ends before the far unit starts.
- linkb-verify.sh - hashes each end's PSK and compares them without
printing key material.
Endpoint strategy recorded: the Pi's public address is residential DHCP
but provably static (IGD uptime since 2026-09-10, ~83 days on the
configured 137.118.156.124), so the linode config pins it and a moved
address is caught by the per-interface rotation-age series rather than by
a sync timer.
This commit is contained in:
parent
acdfdd7975
commit
5fc7cd4ead
7 changed files with 222 additions and 0 deletions
13
infrastructure/networking/rosenpass/rosenpass-upnp.service
Normal file
13
infrastructure/networking/rosenpass/rosenpass-upnp.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Re-assert UPnP mapping for Rosenpass Link B (UDP 9999 -> rpi)
|
||||
Documentation=https://github.com/rosenpass/rosenpass
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/rosenpass-upnp.sh
|
||||
# A router reboot drops the mapping; retry a few times before giving up so a
|
||||
# transient WAN/IGD hiccup does not page anyone.
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
Loading…
Reference in a new issue