add pots
This commit is contained in:
parent
15a604d1f1
commit
7633797430
2 changed files with 10 additions and 1 deletions
|
|
@ -102,6 +102,16 @@
|
|||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [80 443 6969 2022];
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
{
|
||||
from = 25565;
|
||||
to = 25575;
|
||||
}
|
||||
{
|
||||
from = 24454;
|
||||
to = 24464;
|
||||
}
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [80 443 6969 2022];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
systemd.services."wings" = {
|
||||
after = ["docker.service"];
|
||||
requires = ["docker.service"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue