hosts/astatine: Isolate ppp interface
This commit is contained in:
parent
a5c2009bfd
commit
ffdc95da84
@ -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; }
|
||||
];
|
||||
};
|
||||
*/
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user