summaryrefslogtreecommitdiff
path: root/modules/router.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/router.nix')
-rw-r--r--modules/router.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index e3ac754..63eaa37 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -214,6 +214,7 @@ let
ip daddr 172.20.20.2 th dport {9091, 56732} counter accept;
oifname servers-vport meta l4proto {tcp, udp} th dport $SERVER_WAN_PORTS counter accept
+ oifname lan-vport meta l4proto {tcp, udp} th dport 34197 counter accept
iifname lan-vport oifname servers-vport meta l4proto {tcp, udp} th dport $SERVER_LAN_PORTS counter accept
iifname vpnlan-vport oifname servers-vport meta l4proto {tcp, udp} th dport $SERVER_LAN_PORTS counter accept
iifname servers-vport counter accept
@@ -235,7 +236,7 @@ let
table inet nat {
chain prerouting {
type nat hook prerouting priority -100; policy accept
- meta nfproto ipv4 iifname wan-vport tcp dport 20000 counter dnat to 172.20.100.214
+ meta nfproto ipv4 iifname wan-vport udp dport 34197 counter dnat to 172.20.100.214
meta nfproto ipv4 iifname wan-vport tcp dport $SERVER_WAN_PORTS counter dnat to 172.20.20.2
meta nfproto ipv4 iifname mullvad tcp dport 56732 counter dnat to 172.20.20.2
}