drop nat to alexandria; open 25566
This commit is contained in:
parent
6287704cf3
commit
63a32cee92
1 changed files with 2 additions and 28 deletions
|
|
@ -3,34 +3,8 @@
|
|||
{
|
||||
networking = {
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 25565 ];
|
||||
allowedUDPPorts = [
|
||||
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";
|
||||
}
|
||||
];
|
||||
allowedTCPPorts = [ 25566 ];
|
||||
allowedUDPPorts = [ 25566 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue