mkosi-based Gitea runner OS and job image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
33 files changed
+529
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Firewall: drop all incoming traffic except replies, loopback, ICMP and DHCPv6.
|
||||
# Loaded by nftables.service. Jobs live on podman bridges (podman*): they may reach the
|
||||
# internet, DNS on their bridge, and the runner's cache server (config.yaml), nothing else here.
|
||||
destroy table inet firewall
|
||||
table inet firewall {
|
||||
chain input {
|
||||
type filter hook input priority filter; policy drop;
|
||||
ct state established,related accept
|
||||
ct state invalid drop
|
||||
iif lo accept
|
||||
meta l4proto { icmp, ipv6-icmp } accept
|
||||
ip6 saddr fe80::/10 udp dport 546 accept
|
||||
iifname "podman*" meta l4proto { tcp, udp } th dport 53 accept
|
||||
iifname "podman*" tcp dport 8088 accept
|
||||
}
|
||||
chain forward {
|
||||
type filter hook forward priority filter; policy drop;
|
||||
ct state established,related accept
|
||||
ct state invalid drop
|
||||
iifname "podman*" accept
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user