commit 4d4b9e8b4c22c4b174a57f97cbd44afea1a92fdb
parent fb603f9311f122a6724885a99a4ff3c17ab47388
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 4 Oct 2023 16:38:56 +0200
Fix floating ip?
Diffstat:
2 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -463,15 +463,9 @@
}
protocol direct {
- ipv4 {
- import filter { if is_valid_network() then accept; else reject; };
- export filter { if is_valid_network() then accept; else reject; };
- };
- ipv6 {
- import filter { if is_valid_network_v6() then accept; else reject; };
- export filter { if is_valid_network_v6() then accept; else reject; };
- };
- interface "wg0", "wg1", "floating1";
+ ipv4;
+ ipv6;
+ interface "floating1";
}
protocol kernel {
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -356,18 +356,6 @@
scan time 10;
}
- protocol direct {
- ipv4 {
- import filter { if is_valid_network() then accept; else reject; };
- export filter { if is_valid_network() then accept; else reject; };
- };
- ipv6 {
- import filter { if is_valid_network_v6() then accept; else reject; };
- export filter { if is_valid_network_v6() then accept; else reject; };
- };
- interface "wg0", "wg1";
- }
-
protocol kernel {
scan time 20;