From 8f4691ca5bf74f94b2ec83bec8cb6d433816050f Mon Sep 17 00:00:00 2001 From: leonvita91 Date: Thu, 25 Aug 2022 22:52:36 +0100 Subject: [PATCH 1/2] edit port 777 to 8801 & add new port i 8900 o 8901 --- config/net/upstream.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/net/upstream.nix b/config/net/upstream.nix index 34dac9f..1246256 100644 --- a/config/net/upstream.nix +++ b/config/net/upstream.nix @@ -125,11 +125,17 @@ in reflect = true; sourcePort = 5001; } - { #VPN_Wireguard + { #VPN_Wireguard VPN1 Interface destination = "${servHosts.leon}:8800"; proto = "udp"; reflect = true; - sourcePort = 777; + sourcePort = 8801; + } + { #VPN_Wireguard VPN2 Interface + destination = "${servHosts.leon}:8900"; + proto = "udp"; + reflect = true; + sourcePort = 8901; } { destination = servHosts.minetest; -- 2.42.0 From 20be43f6b89355643430130e6489974e6762b606 Mon Sep 17 00:00:00 2001 From: leonvita91 Date: Fri, 26 Aug 2022 00:33:46 +0100 Subject: [PATCH 2/2] fix ports --- config/net/upstream.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/net/upstream.nix b/config/net/upstream.nix index 1246256..f4044a9 100644 --- a/config/net/upstream.nix +++ b/config/net/upstream.nix @@ -126,16 +126,16 @@ in sourcePort = 5001; } { #VPN_Wireguard VPN1 Interface - destination = "${servHosts.leon}:8800"; + destination = "${servHosts.leon}:18800"; proto = "udp"; reflect = true; - sourcePort = 8801; + sourcePort = 19800; } { #VPN_Wireguard VPN2 Interface - destination = "${servHosts.leon}:8900"; + destination = "${servHosts.leon}:18900"; proto = "udp"; reflect = true; - sourcePort = 8901; + sourcePort = 19900; } { destination = servHosts.minetest; -- 2.42.0