firewall: close unnecessary ports
This commit is contained in:
parent
0c30936230
commit
ae8f633713
5 changed files with 8 additions and 8 deletions
machines/mynix
options/custom
|
@ -24,7 +24,7 @@
|
|||
settings = {
|
||||
games = {
|
||||
enable = true;
|
||||
abiotic-factor = true;
|
||||
#// abiotic-factor = true;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ in {
|
|||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
1935 # RTMP
|
||||
#// 1935 # RTMP
|
||||
];
|
||||
|
||||
allowedUDPPorts = [
|
||||
|
|
|
@ -28,7 +28,7 @@ in {
|
|||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
1935 # RTMP
|
||||
#// 1935 # RTMP
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue