Dernier fix réseau #111
1 changed files with 17 additions and 1 deletions
|
@ -190,5 +190,21 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 67 ];
|
||||
networking = {
|
||||
nftables = {
|
||||
enable = true;
|
||||
tables.nat = {
|
||||
family = "ip";
|
||||
lbailly marked this conversation as resolved
Outdated
|
||||
content = ''
|
||||
chain postrouting {
|
||||
type nat hook postrouting priority 100;
|
||||
snat ip to 129.199.195.130-129.199.195.158
|
||||
lbailly marked this conversation as resolved
Outdated
thubrecht
commented
https://noogle.dev/f/lib/concatMapStringsSep
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
firewall.allowedUDPPorts = [ 67 ];
|
||||
};
|
||||
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue
Tu peux aussi rajouter
Et pas mettre des
getExe'
partout