add config for adhoc minecraft server
This commit is contained in:
@@ -36,7 +36,14 @@ in
|
||||
# dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
|
||||
firewall = {
|
||||
allowedTCPPorts = [ nodes.sin.config.services.gitea.settings.server.SSH_PORT ];
|
||||
allowedTCPPorts = [
|
||||
nodes.sin.config.services.gitea.settings.server.SSH_PORT
|
||||
]
|
||||
++ [
|
||||
# minecraft ad hoc server ports
|
||||
25665
|
||||
25675
|
||||
];
|
||||
};
|
||||
nat = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user