|
|
|
@ -76,16 +76,20 @@ in
|
|
|
|
|
services.dnscache.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
c3d2-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" ];
|
|
|
|
|
serv-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" ];
|
|
|
|
|
cls-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" ];
|
|
|
|
|
mgmt-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" ];
|
|
|
|
|
bgp.ospf.allowedUpstreams = [ "upstream1" "upstream2" ];
|
|
|
|
|
c3d2-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
serv-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
cls-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
mgmt-gw.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
bgp.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
anon1.ospf.allowedUpstreams = [ "upstream1" "upstream2" "freifunk" ];
|
|
|
|
|
|
|
|
|
|
pub-gw.ospf.allowedUpstreams = [ "anon1" "freifunk" ];
|
|
|
|
|
c3d2-anon.ospf.allowedUpstreams = [ "anon1" "freifunk" ];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
builtins.mapAttrs (hostName: _: {
|
|
|
|
|
ospf.allowedUpstreams = [ "upstream2" "upstream1" ];
|
|
|
|
|
ospf.allowedUpstreams = [ "upstream2" "upstream1" "freifunk" ];
|
|
|
|
|
}) (
|
|
|
|
|
lib.filterAttrs (hostName: _:
|
|
|
|
|
builtins.match "priv[[:digit:]]+-gw" hostName != null
|
|
|
|
|