Allow pings to ensure the home is up.
Just convenient, not that unsafe.
This commit is contained in:
parent
4dd10a99a1
commit
7970d9f911
|
@ -231,6 +231,7 @@
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
allowPing = true;
|
||||||
allowedTCPPorts = [ 80 443 ];
|
allowedTCPPorts = [ 80 443 ];
|
||||||
allowedUDPPortRanges = [
|
allowedUDPPortRanges = [
|
||||||
#{ from = 4000; to = 4007; }
|
#{ from = 4000; to = 4007; }
|
||||||
|
|
Loading…
Reference in New Issue