infra(garage): let cluster pods on rpi reach the S3 endpoint #68
1 changed files with 9 additions and 0 deletions
|
|
@ -34,6 +34,15 @@ table inet garage_guard {
|
|||
# WireGuard only: the mesh hub link and loopback.
|
||||
iifname { "lo", "wg0", "wg-remote" } tcp dport { 3900, 3901, 3902, 3903 } counter accept
|
||||
|
||||
# Cluster pods scheduled on this node. Traffic from a local pod
|
||||
# reaches 10.10.0.1 over its Cilium veth, not wg0, so the rule above
|
||||
# dropped it: the Forgejo deploy runner (a pod on rpi) timed out on
|
||||
# `s3 cp ... http://10.10.0.1:3900` while the same call from a pod on
|
||||
# another node worked (that path arrives via wg0). The cluster is the
|
||||
# documented consumer of this endpoint, so accept its pod CIDR only —
|
||||
# LAN, tailscale and public sources still fall through to the drop.
|
||||
ip saddr 10.244.0.0/16 tcp dport { 3900, 3901, 3902, 3903 } counter accept
|
||||
|
||||
# Anything else — LAN, tailscale, public, or a future interface that
|
||||
# nobody remembered to add above.
|
||||
tcp dport { 3900, 3901, 3902, 3903 } counter drop
|
||||
|
|
|
|||
Loading…
Reference in a new issue