hosts/astatine: Isolate ppp interface
This commit is contained in:
parent
a5c2009bfd
commit
ffdc95da84
@ -44,7 +44,6 @@
|
|||||||
'';
|
'';
|
||||||
};*/
|
};*/
|
||||||
|
|
||||||
/*
|
|
||||||
environment.etc."ppp/ip-up" = {
|
environment.etc."ppp/ip-up" = {
|
||||||
text = ''
|
text = ''
|
||||||
#! ${pkgs.runtimeShell} -e
|
#! ${pkgs.runtimeShell} -e
|
||||||
@ -82,14 +81,10 @@
|
|||||||
|
|
||||||
petabyte.policyrouting = {
|
petabyte.policyrouting = {
|
||||||
enable = true;
|
enable = true;
|
||||||
rules = [
|
rules4 = [
|
||||||
{ rule = "oif ppp-lns-test lookup 20001"; prio = 19000; }
|
{ rule = "from 212.218.16.237/32 lookup 20001"; prio = 19000; }
|
||||||
{ rule = "oif ppp-lns-test unreachable"; prio = 19001; }
|
{ rule = "from 212.218.16.237/32 unreachable"; prio = 19001; }
|
||||||
#{ rule = "lookup main"; prio = 21000; }
|
|
||||||
#{ rule = "lookup 20001"; prio = 21001; }
|
|
||||||
#{ rule = "unreachable"; prio = 22000; }
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user