rift: open firewall for mc-proxy (443, 8443, 9443) and exod (8080, 9090)
Remove implicit reliance on temp iptables rules. All externally accessible ports are now declared in NixOS config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
||||||
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
||||||
|
|
||||||
# Open DNS port for LAN clients querying CoreDNS.
|
# Open ports: DNS (53), mc-proxy (443, 8443, 9443), exod (8080, 9090).
|
||||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
networking.firewall.allowedTCPPorts = [ 53 443 8443 9443 8080 9090 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user