From 95d3cd2f4b9ff6dbc48210930f20fd02010c9de5 Mon Sep 17 00:00:00 2001 From: albert <albert@sysctl.io> Date: Sun, 23 Mar 2025 12:59:18 +0100 Subject: [PATCH] Typo on ports --- nixos/hosts/frankfurt-linode-01/firewall.nix | 42 ++++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/nixos/hosts/frankfurt-linode-01/firewall.nix b/nixos/hosts/frankfurt-linode-01/firewall.nix index 38090239..e502be64 100644 --- a/nixos/hosts/frankfurt-linode-01/firewall.nix +++ b/nixos/hosts/frankfurt-linode-01/firewall.nix @@ -1,7 +1,7 @@ { pkgs, ... }: let wg-framework-server = "10.100.0.2"; - wg-enshrouded = "10.100.1.2"; + # wg-enshrouded = "10.100.1.2"; wg-mailserver = "10.100.1.3"; wg-vintage-story = "10.100.1.5"; wg-rust = "10.100.1.6"; @@ -44,8 +44,8 @@ in { chain PREROUTING { type nat hook prerouting priority dstnat; policy accept; iifname "enp0s4" udp dport 10000 dnat to ${wg-framework-server}:10000; - iifname "enp0s4" udp dport 20815 dnat to ${wg-rust}:20815; - iifname "enp0s4" udp dport 20816 dnat to ${wg-rust}:20816; + iifname "enp0s4" udp dport 28015 dnat to ${wg-rust}:28015; + iifname "enp0s4" udp dport 28016 dnat to ${wg-rust}:28016; } } ''; @@ -59,8 +59,8 @@ in { { sourcePort = 10000; proto = "udp"; destination = "${wg-framework-server}:10000"; } # Jitsi Meet # { sourcePort = 15636; proto = "udp"; destination = "${wg-enshrouded}:15636"; } # Enshrouded # { sourcePort = 15637; proto = "udp"; destination = "${wg-enshrouded}:15637"; } # Enshrouded - { sourcePort = 20815; proto = "udp"; destination = "${wg-rust}:20816"; } # Rust - { sourcePort = 20816; proto = "udp"; destination = "${wg-rust}:20816"; } # Rust + { sourcePort = 28015; proto = "udp"; destination = "${wg-rust}:28016"; } # Rust + { sourcePort = 28016; proto = "udp"; destination = "${wg-rust}:28016"; } # Rust ]; }; }; @@ -130,8 +130,8 @@ in { frontend rust mode tcp - bind :20815 - bind :20816 + bind :28015 + bind :28016 default_backend backend_rust backend backend_rust mode tcp @@ -146,22 +146,22 @@ in { 51.8.102.0/24 # https://openai.com/chatgpt-user.json - # 23.98.142.176/28 - # 40.84.180.224/28 - # 13.65.240.240/28 - # 20.97.189.96/28 - # 20.161.75.208/28 - # 52.225.75.208/28 - # 52.156.77.144/28 - # 40.84.221.208/28 - # 40.84.221.224/28 - # 40.84.180.64/28 - # 23.98.179.16/28 + 23.98.142.176/28 + 40.84.180.224/28 + 13.65.240.240/28 + 20.97.189.96/28 + 20.161.75.208/28 + 52.225.75.208/28 + 52.156.77.144/28 + 40.84.221.208/28 + 40.84.221.224/28 + 40.84.180.64/28 + 23.98.179.16/28 # https://openai.com/gptbot.json - # 52.230.152.0/24 - # 52.233.106.0/24 - # 20.171.206.0/24 + 52.230.152.0/24 + 52.233.106.0/24 + 20.171.206.0/24 # https://developers.google.com/search/apis/ipranges/googlebot.json 2001:4860:4801:10::/64