mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
nebula: Only route traffic from the overlay domain over the interface
This commit is contained in:
parent
399cbee22a
commit
cb8d793df3
1 changed files with 4 additions and 1 deletions
|
|
@ -132,7 +132,10 @@ in
|
||||||
matchConfig.Name = netCfg.overlay.interface;
|
matchConfig.Name = netCfg.overlay.interface;
|
||||||
address = [ netCfg.overlay.cidr ];
|
address = [ netCfg.overlay.cidr ];
|
||||||
dns = netCfg.overlay.dnsServers;
|
dns = netCfg.overlay.dnsServers;
|
||||||
domains = [ netCfg.overlay.domain ];
|
domains = [
|
||||||
|
"~${netCfg.overlay.domain}"
|
||||||
|
netCfg.overlay.domain
|
||||||
|
];
|
||||||
networkConfig.DNSSEC = false;
|
networkConfig.DNSSEC = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue