2022-07-15 01:16:51 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-07-17 14:04:54 +02:00
|
|
|
networking.localCommands = ''
|
|
|
|
ip -6 route add default via 2a01:4f8:1c0c:8221::25 dev net-services table 20003
|
|
|
|
'';
|
|
|
|
|
|
|
|
clerie.policyrouting.enable = true;
|
|
|
|
clerie.policyrouting.rules6 = [
|
|
|
|
{ rule = "from 2a01:4f8:1c0c:8221::/64 lookup 20003"; prio = 19000; }
|
|
|
|
];
|
|
|
|
|
2022-07-15 01:16:51 +02:00
|
|
|
clerie.uplink-selector.enable = true;
|
|
|
|
clerie.uplink-selector.uplinks = {
|
|
|
|
uplink-a.table = "20001";
|
|
|
|
uplink-b.table = "20002";
|
|
|
|
};
|
|
|
|
}
|