From 7a8346d8f664808c7d4aaa344cf29d1ca3ed4686 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 2 Oct 2022 14:09:05 -0400 Subject: router config --- config/router.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/router.nix b/config/router.nix index 0ad0f33..52a7a44 100644 --- a/config/router.nix +++ b/config/router.nix @@ -210,12 +210,12 @@ in { extraConfig = '' debug noipv6rs + nohook resolv.conf interface ${wan-dev} dhcp # ipv6rs # iaid 0 - # ia_na 1 - # ia_pd 0//56 ${wan-dev}/10/64 ${lan-dev}.100/100/64 + # ia_pd 0//56 ${lan-dev}.100/2/64 ''; }; systemd.services.dhcpcd = { @@ -290,9 +290,9 @@ in { wantedBy = [ "multi-user.target" ]; path = [ pkgs.iproute ]; script = '' - # ip -6 rule add from 2001:470:8e2e::/48 lookup he prio 0 || true - # ip -6 route replace default dev he0 src 2001:470:8e2e:20::d table he - # ip -6 route flush cache + #ip -6 rule add from 2001:470:8e2e::/48 lookup he prio 0 || true + #ip -6 route replace default dev he0 src 2001:470:8e2e:20::d table he + #ip -6 route flush cache ip -6 rule add fwmark ${toString heMark} table he ''; }; -- cgit v1.2.3