nixos-module/container/bird: add flpk-gw to anon1 config
This commit is contained in:
parent
b6ebe0f136
commit
e000ed1719
|
@ -92,7 +92,10 @@ in
|
||||||
}
|
}
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${lib.optionalString (builtins.match "anon.*" hostName != null) ''
|
${lib.optionalString (
|
||||||
|
builtins.match "anon.*" hostName != null ||
|
||||||
|
hostName == "flpk-gw"
|
||||||
|
) ''
|
||||||
# BIRD routing table for Wireguard transport
|
# BIRD routing table for Wireguard transport
|
||||||
ipv4 table vpn4_table;
|
ipv4 table vpn4_table;
|
||||||
|
|
||||||
|
@ -211,7 +214,10 @@ in
|
||||||
preference = preference + ${toString (100 - n)};
|
preference = preference + ${toString (100 - n)};
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
${lib.optionalString (builtins.match "anon.*" hostName != null) ''
|
${lib.optionalString (
|
||||||
|
builtins.match "anon.*" hostName != null ||
|
||||||
|
hostName == "flpk-gw"
|
||||||
|
) ''
|
||||||
table vpn4_table;
|
table vpn4_table;
|
||||||
''}
|
''}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue