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
|
./shared/ssh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{ from = 8000; to = 8020 }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ./secrets/ssh-key.yaml;
|
defaultSopsFile = ./secrets/ssh-key.yaml;
|
||||||
age = {
|
age = {
|
||||||
|
|
Loading…
Reference in a new issue