2026-10-27 00:12:38 -04:00
|
|
|
# /etc/systemd/system/internal-gw-firewall.service (siriussec)
|
|
|
|
|
#
|
|
|
|
|
# Same shape as k8s-api-firewall.service. Installed by hand (host unit, not
|
|
|
|
|
# Flux-managed); the file lives in git at
|
|
|
|
|
# infrastructure/networking/internal/host-firewall/.
|
|
|
|
|
[Unit]
|
2026-10-27 00:35:09 -04:00
|
|
|
Description=Restrict the internal Gateway listeners (8081, 8082) to WireGuard
|
2026-10-27 00:12:38 -04:00
|
|
|
After=network-online.target
|
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=oneshot
|
|
|
|
|
ExecStart=/usr/sbin/nft -f /etc/nftables.d/internal-gw.nft
|
|
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|