commit 91875a1cbd1c0d663f3db69709f1da426454296b
parent 998dd4d5d3fb8763276185d1593d44415177af75
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 27 Jan 2024 19:44:24 +0100
Meow
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -487,11 +487,11 @@ in {
local 10.0.2.1 as 64513; # Use a private AS number
neighbor 10.0.2.2 as 64514; # Our neighbor ...
graceful restart on;
+ gateway recursive;
multihop 2; # ... which is connected indirectly
ipv4 {
export filter allowed_ips;
import filter allowed_ips;
- next hop self;
};
}
@@ -499,6 +499,7 @@ in {
local 10.0.2.1 as 64513; # Use a private AS number
neighbor 10.0.1.2 as 64512; # Our neighbor ...
#direct;
+ gateway recursive;
graceful restart on;
multihop 2; # ... which is connected indirectly
ipv4 {
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -583,11 +583,11 @@ in {
local 10.0.2.2 as 64514; # Use a private AS number
neighbor 10.0.2.1 as 64513; # Our neighbor ...
graceful restart on;
+ gateway recursive;
multihop 2; # ... which is connected indirectly
ipv4 {
export filter allowed_ips;
import filter allowed_ips;
- next hop self;
};
}
@@ -595,6 +595,7 @@ in {
local 10.0.2.2 as 64514; # Use a private AS number
neighbor 10.0.1.2 as 64512; # Our neighbor ...
#direct;
+ gateway recursive;
graceful restart on;
multihop 2; # ... which is connected indirectly
ipv4 {