forked from M-Labs/it-infra
nixbld: fix routing policy for wifi
This commit is contained in:
parent
7f1972fc9d
commit
2cd3ae1337
|
@ -144,6 +144,19 @@ in
|
||||||
address = "2001:470:f891:2::";
|
address = "2001:470:f891:2::";
|
||||||
prefixLength = 64;
|
prefixLength = 64;
|
||||||
}];
|
}];
|
||||||
|
# same hack as above
|
||||||
|
ipv4.routes = [
|
||||||
|
{
|
||||||
|
address = "192.168.12.0";
|
||||||
|
prefixLength = 24;
|
||||||
|
options.table = "1";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
address = "192.168.12.0";
|
||||||
|
prefixLength = 24;
|
||||||
|
options.table = "2";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
nat = {
|
nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue