system/security: allow more firewall port ranges
This commit is contained in:
parent
87bac04297
commit
d8903b5bd7
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedUDPPorts = [ 20100 ];
|
allowedUDPPortRanges = [ { from = 20000; to = 20100; } ];
|
||||||
|
allowedTCPPortRanges = [ { from = 20000; to = 20100; } ];
|
||||||
trustedInterfaces = [ "wg0" ];
|
trustedInterfaces = [ "wg0" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue