drop nat to alexandria; open 25566

This commit is contained in:
William 2025-06-02 21:00:26 -03:00
parent 6287704cf3
commit 63a32cee92

View file

@ -3,34 +3,8 @@
{ {
networking = { networking = {
firewall = { firewall = {
allowedTCPPorts = [ 25565 ]; allowedTCPPorts = [ 25566 ];
allowedUDPPorts = [ allowedUDPPorts = [ 25566 ];
25565
19132
];
};
nat = {
enable = true;
externalInterface = "enp0s6";
internalInterfaces = [ "tailscale0" ];
externalIP = null;
forwardPorts = [
{
sourcePort = 25565;
proto = "tcp";
destination = "100.76.19.50:25565";
}
{
sourcePort = 25565;
proto = "udp";
destination = "100.76.19.50:25565";
}
{
sourcePort = 19132;
proto = "udp";
destination = "100.76.19.50:19132";
}
];
}; };
}; };
} }