portss
This commit is contained in:
parent
44e881c685
commit
45211d88b2
1 changed files with 12 additions and 2 deletions
|
|
@ -122,8 +122,18 @@
|
|||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 22 25565 25575 38281 ];
|
||||
networking.firewall.allowedUDPPorts = [ 22 25565 25575 38281 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22 # ssh
|
||||
25565 25575 # minecraft
|
||||
38281 # archipelago
|
||||
34197 27015 # factorio
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
22 # ssh
|
||||
25565 25575 # minecraft
|
||||
38281 # archipelago
|
||||
34197 27015 # factorio
|
||||
];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue