1
0

Configure port forwards

This commit is contained in:
clerie 2020-12-26 01:49:13 +01:00
parent 2bf3623eae
commit 4bdc98598c
2 changed files with 28 additions and 0 deletions

View File

@ -72,5 +72,25 @@
};
};
clerie.nginx-port-forward = {
enable = true;
tcpPorts."443" = {
host = "localhost";
port = 22;
};
tcpPorts."2022" = {
host = "nonat.net.clerie.de";
port = 22;
};
tcpPorts."25567" = {
host = "minecraft-1.net.clerie.de";
port = 25567;
};
tcpPorts."25568" = {
host = "minecraft-1.net.clerie.de";
port = 25568;
};
};
system.stateVersion = "21.03";
}

View File

@ -56,6 +56,14 @@
};
};
clerie.nginx-port-forward = {
enable = true;
tcpPorts."2022" = {
host = "nonat.net.clerie.de";
port = 22;
};
};
networking.firewall.allowedUDPPorts = [ 50138 51337 ];
petabyte.policyrouting = {