summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/router.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/router.nix b/config/router.nix
index c91fe71..073dada 100644
--- a/config/router.nix
+++ b/config/router.nix
@@ -62,6 +62,10 @@ in
proto 41 ACCEPT; # IPv6 sit tunnel
interface ($DEV_WAN $DEV_UNTRUSTED_LAN) @subchain "wan_services" {
+ # Valheim
+ proto udp dport 3400 ACCEPT;
+ proto udp dport 3401 ACCEPT;
+
proto (tcp udp) dport (bootpc bootps) ACCEPT;
proto tcp dport ssh ACCEPT;
proto (tcp udp) dport domain ACCEPT;
@@ -70,6 +74,10 @@ in
}
interface $DEV_LAN @subchain "lan_services" {
+ # Valheim
+ proto udp dport 3400 ACCEPT;
+ proto udp dport 3401 ACCEPT;
+
proto (tcp udp) dport (ssh domain bootpc bootps) ACCEPT;
proto tcp dport (http https) ACCEPT;
# prometheus temp rule