1
1
Fork 0

firewall: close unnecessary ports

This commit is contained in:
Myned 2025-03-26 20:51:44 -05:00
parent 0c30936230
commit ae8f633713
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C7224454F7881A34
5 changed files with 8 additions and 8 deletions
machines/mynix
options/custom

View file

@ -24,7 +24,7 @@
settings = {
games = {
enable = true;
abiotic-factor = true;
#// abiotic-factor = true;
};
hardware = {

View file

@ -43,13 +43,13 @@ in {
# https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption
networking.firewall = {
allowedTCPPorts = [
53 # DNS
853 # DNS-over-TLS
#// 53 # DNS
#// 853 # DNS-over-TLS
];
allowedUDPPorts = [
53 # DNS
853 # DNS-over-QUIC
#// 53 # DNS
#// 853 # DNS-over-QUIC
];
};

View file

@ -41,7 +41,7 @@ in {
networking.firewall = {
allowedTCPPorts = [
1935 # RTMP
#// 1935 # RTMP
];
allowedUDPPorts = [

View file

@ -28,7 +28,7 @@ in {
networking.firewall = {
allowedTCPPorts = [
1935 # RTMP
#// 1935 # RTMP
];
};
};

View file

@ -19,7 +19,7 @@ in {
enable = true;
nmbd.enable = false;
nsswins = false;
openFirewall = true;
#// openFirewall = true;
# https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
settings = {