diff --git a/hosts/astatine/ppp.nix b/hosts/astatine/ppp.nix index e6f5c65..84d7b07 100644 --- a/hosts/astatine/ppp.nix +++ b/hosts/astatine/ppp.nix @@ -44,7 +44,6 @@ ''; };*/ - /* environment.etc."ppp/ip-up" = { text = '' #! ${pkgs.runtimeShell} -e @@ -82,14 +81,10 @@ petabyte.policyrouting = { enable = true; - rules = [ - { rule = "oif ppp-lns-test lookup 20001"; prio = 19000; } - { rule = "oif ppp-lns-test unreachable"; prio = 19001; } - #{ rule = "lookup main"; prio = 21000; } - #{ rule = "lookup 20001"; prio = 21001; } - #{ rule = "unreachable"; prio = 22000; } + rules4 = [ + { rule = "from 212.218.16.237/32 lookup 20001"; prio = 19000; } + { rule = "from 212.218.16.237/32 unreachable"; prio = 19001; } ]; }; - */ }