Allow certain port range in firewall
This commit is contained in:
parent
0c6a648278
commit
e91f8be922
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ in
|
|||
./shared/ssh.nix
|
||||
];
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 8000; to = 8020 }
|
||||
];
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets/ssh-key.yaml;
|
||||
age = {
|
||||
|
|
Loading…
Reference in a new issue