Don't use ip rules for now
This commit is contained in:
parent
525a799c5f
commit
aff98955f3
@ -36,14 +36,14 @@
|
|||||||
networking.defaultGateway6 = { address = "2001:638:904:ffc9::1"; interface = "ens21"; };
|
networking.defaultGateway6 = { address = "2001:638:904:ffc9::1"; interface = "ens21"; };
|
||||||
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
||||||
|
|
||||||
networking.localCommands = ''
|
#networking.localCommands = ''
|
||||||
ip -6 rule flush
|
#ip -6 rule flush
|
||||||
ip -6 rule add lookup main prio 32000
|
#ip -6 rule add lookup main prio 32000
|
||||||
ip -6 rule add from all to fd56:4902:eca0::/48 lookup 1337 prio 10000
|
#ip -6 rule add from all to fd56:4902:eca0::/48 lookup 1337 prio 10000
|
||||||
ip -6 rule add from all to all lookup 2342 prio 10000
|
#ip -6 rule add from all to all lookup 2342 prio 10000
|
||||||
ip -6 rule add from all to fd56:4902:eca0::/48 unreachable prio 20000
|
#ip -6 rule add from all to fd56:4902:eca0::/48 unreachable prio 20000
|
||||||
ip -6 rule add from fd56:4902:eca0::/48 to all unreachable prio 20000
|
#ip -6 rule add from fd56:4902:eca0::/48 to all unreachable prio 20000
|
||||||
'';
|
#'';
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird2.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird2.config = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user