summaryrefslogtreecommitdiff
path: root/modules/router.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/router.nix')
-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;