mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
Enable firewall
This commit is contained in:
parent
082fe90ce9
commit
3d0697a16b
|
@ -8,13 +8,11 @@
|
|||
nameservers = [ "1.1.1.1" ];
|
||||
|
||||
firewall = {
|
||||
# TODO: enable me
|
||||
enable = false;
|
||||
allowedTCPPorts = [ 22 80 443 1900 7359 30000 30025 30465 30993 ];
|
||||
allowedUDPPorts = [ 30000 1900 7359 ];
|
||||
|
||||
# Kubernetes
|
||||
trustedInterfaces = [ "lo" "flannel.1" "cni0" ];
|
||||
enable = true;
|
||||
# SSH, nginx
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
# Jellyfin
|
||||
allowedUDPPorts = [ 1900 7359 ];
|
||||
};
|
||||
|
||||
wireless.enable = false;
|
||||
|
|
Loading…
Reference in a new issue