Testing
This commit is contained in:
parent
0f569fdae6
commit
61684bbb6c
1 changed files with 21 additions and 0 deletions
21
nixos/hosts/nuc-server/firewall.nix
Normal file
21
nixos/hosts/nuc-server/firewall.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }: {
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
53 # DNS
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
];
|
||||
interfaces = {
|
||||
tailscale0= {
|
||||
allowedTCPPorts = [
|
||||
53 # DNS
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue