ops/nixos/lib/bgp: disable rp filtering on hosts running BGP
This commit is contained in:
parent
02bd3e4d31
commit
9dfb1d205d
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = lib.mkIf config.services.lukegbgp.enable (lib.mkAfter [ 179 ]);
|
networking.firewall.allowedTCPPorts = lib.mkIf config.services.lukegbgp.enable (lib.mkAfter [ 179 ]);
|
||||||
|
networking.firewall.checkReversePath = false;
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"net.ipv6.conf.default.accept_ra" = 0;
|
"net.ipv6.conf.default.accept_ra" = 0;
|
||||||
|
|
Loading…
Reference in a new issue