format
This commit is contained in:
parent
7443a419bd
commit
be9c2dfb50
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
|
networking.firewall = {
|
||||||
|
enable = false;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [8080 10001 10002];
|
allowedTCPPorts = [8080 10001 10002];
|
||||||
networking.firewall.allowedUDPPorts = [8080 10001 10002];
|
allowedUDPPorts = [8080 10001 10002];
|
||||||
# Or disable the firewall altogether.
|
};
|
||||||
networking.firewall.enable = false;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue