summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 17:08:33 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 17:08:33 -0400
commit9e30ef2c7c1fb2a2ce9f9da20b4e6a2753f5a23e (patch)
tree5914d9c6db4c9dc6aceed305c146e506c06e0f22
parent4be2305672190ec8baccb73b579b09ca83b37ed8 (diff)
fix
-rw-r--r--modules/router.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 47611ba..b54e61e 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -137,7 +137,7 @@ let
log-debug
dhcp-authoritative
- enable-ra
+ # enable-ra
address=/localhost/::1
address=/localhost/127.0.0.1
@@ -278,6 +278,8 @@ in {
config = mkIf cfg.enable {
boot.kernel.sysctl = {
+ "net.ipv6.conf.wan-vport.autoconf=" = false;
+ "net.ipv6.conf.wan-vport.accept_ra" = false;
"net.ipv4.conf.all.forwarding" = true;
"net.ipv4.conf.default.forwarding" = true;
"net.ipv6.conf.all.forwarding" = true;