Refactor firewall configuration with comments
This commit is contained in:
parent
c154af8f83
commit
fecb1956f2
|
@ -16,7 +16,14 @@
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 631 6566 22067 8384 80 443 ];
|
allowedTCPPorts = [
|
||||||
|
631 # Cups
|
||||||
|
6566 # SANE
|
||||||
|
22067 # Syncthing relay
|
||||||
|
8384 # Syncthing GUI
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
autoLoadConntrackHelpers = true;
|
autoLoadConntrackHelpers = true;
|
||||||
connectionTrackingModules = [ "sane" ];
|
connectionTrackingModules = [ "sane" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue