From f6e57dd288edadfe5e8e72e15cbe071a30bdefb9 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 16 Apr 2023 18:20:49 -0400 Subject: Update --- modules/router.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/router.nix b/modules/router.nix index 4b757c2..29c198c 100644 --- a/modules/router.nix +++ b/modules/router.nix @@ -212,7 +212,7 @@ let oifname wan-vport counter accept oifname mullvad counter accept - ip daddr 172.20.30.2 th dport {9091, 56732} counter accept; + 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 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 @@ -235,8 +235,8 @@ let table inet nat { chain prerouting { type nat hook prerouting priority -100; policy accept - meta nfproto ipv4 iifname wan-vport tcp dport $SERVER_WAN_PORTS counter dnat to 172.20.30.2 - meta nfproto ipv4 iifname mullvad tcp dport 56732 counter dnat to 172.20.30.2 + 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 } chain postrouting { type nat hook postrouting priority 100; policy accept -- cgit v1.2.3