feat(nat): desactivating until APs are configured #122
1 changed files with 9 additions and 9 deletions
|
@ -233,15 +233,15 @@ in
|
||||||
networking = {
|
networking = {
|
||||||
nftables = {
|
nftables = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tables.nat = {
|
# tables.nat = {
|
||||||
family = "ip";
|
# family = "ip";
|
||||||
content = ''
|
# content = ''
|
||||||
chain postrouting {
|
# chain postrouting {
|
||||||
type nat hook postrouting priority 100;
|
# type nat hook postrouting priority 100;
|
||||||
ip saddr 10.0.0.0/16 snat ip to 129.199.195.130-129.199.195.158
|
# ip saddr 10.0.0.0/16 snat ip to 129.199.195.130-129.199.195.158
|
||||||
}
|
# }
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [ 67 ];
|
allowedUDPPorts = [ 67 ];
|
||||||
|
|
Loading…
Reference in a new issue