egress: reject needs the intercept
This commit is contained in:
parent
dad15ca855
commit
70a8e54038
1 changed files with 40 additions and 2 deletions
|
|
@ -473,6 +473,17 @@ in
|
|||
the low 17 bits of the agent's address.
|
||||
'';
|
||||
}
|
||||
{
|
||||
assertion = cfg.egress.forward != "reject" || cfg.egress.intercept.enable;
|
||||
message = ''
|
||||
services.hyperhive.network.egress.forward = "reject" needs
|
||||
services.hyperhive.network.egress.intercept.enable = true:
|
||||
without the intercept nothing redirects the agents' web traffic into
|
||||
squid, and the reject would refuse all of it.
|
||||
Enable the intercept (hive-squid.nix does on a hive controller host),
|
||||
or keep forward = "log".
|
||||
'';
|
||||
}
|
||||
{
|
||||
assertion = !(lib.any (k: isOn (config.boot.kernel.sysctl.${k} or 0)) routeLocalnetKeys);
|
||||
message = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue