mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-20 09:04:42 +04:00
12 lines
221 B
Nix
12 lines
221 B
Nix
{ ... }:
|
|
let
|
|
dnsPort = 53;
|
|
httpPort = 80;
|
|
httpsPort = 443;
|
|
dnsOverTlsPort = 853;
|
|
in {
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ dnsPort httpPort httpsPort dnsOverTlsPort ];
|
|
allowedUDPPorts = [ dnsPort ];
|
|
};
|
|
}
|