17 lines
512 B
SYSTEMD
17 lines
512 B
SYSTEMD
|
|
# /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]
|
||
|
|
Description=Restrict the internal Gateway listener (8081) to WireGuard
|
||
|
|
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
|