commit 98f4cfea223101b988bc334f97b484d9707f59f7
parent 0060536c90388d31b6401f513312b054462712c6
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 28 Jan 2024 02:36:41 +0100
Debug
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -471,6 +471,7 @@ in {
ipv4 { # Connect protocol to IPv4 table by channel
export filter {
if proto = "direct2" then reject;
+ if net !~ "10.0.3.0/24" then reject;
accept;
};
import all;
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -683,7 +683,7 @@ in {
ipv4 { # Connect protocol to IPv4 table by channel
export filter {
if proto = "direct2" then reject;
- if net != "10.0.3.0/24" then reject;
+ if net !~ "10.0.3.0/24" then reject;
accept;
};
import all;