diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-02 14:09:05 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-02 14:09:05 -0400 |
commit | 7a8346d8f664808c7d4aaa344cf29d1ca3ed4686 (patch) | |
tree | b678f812e6d2ecac72a4c4b1b683b8bff4b42043 /config | |
parent | f3159e1c71ed29dcdfa9726597bbfc2b1d12fc4c (diff) |
router config
Diffstat (limited to 'config')
-rw-r--r-- | config/router.nix | 10 |
1 files changed, 5 insertions, 5 deletions
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 ''; }; |