parent
6843bc8622
commit
6d602fe013
1 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@
|
|||
iifname "enp0s4" tcp dport 42420 dnat to 10.100.0.2:42420; # Vintage Story
|
||||
iifname "enp0s4" tcp dport 25565 dnat to 10.100.0.2:25565; # Minecraft
|
||||
iifname "enp0s4" tcp dport 1443 dnat to 10.100.0.2:1443; # Headscale DERP (tcp)
|
||||
iifname "enp0s4" tcp dport 3478 dnat to 10.100.0.2:3478; # Headscale DERP (udp)
|
||||
iifname "enp0s4" udp dport 3478 dnat to 10.100.0.2:3478; # Headscale DERP (udp)
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@ -35,12 +35,12 @@
|
|||
internalInterfaces = [ "wireguard0" ];
|
||||
externalInterface = "enp0s4";
|
||||
forwardPorts = [
|
||||
{ destination = "10.100.0.2:3478"; proto = "udp"; sourcePort = 3478; } # HTTP
|
||||
{ destination = "10.100.0.2:80"; proto = "tcp"; sourcePort = 80; } # HTTPS
|
||||
{ destination = "10.100.0.2:443"; proto = "tcp"; sourcePort = 443; } # Vintage Story
|
||||
{ destination = "10.100.0.2:42420"; proto = "tcp"; sourcePort = 42420; } # Minecraft
|
||||
{ destination = "10.100.0.2:25565"; proto = "tcp"; sourcePort = 25565; } # Headscale DERP (tcp)
|
||||
{ destination = "10.100.0.2:1443"; proto = "tcp"; sourcePort = 1443; } # Headscale DERP (udp)
|
||||
{ destination = "10.100.0.2:80"; proto = "tcp"; sourcePort = 80; } # HTTP
|
||||
{ destination = "10.100.0.2:443"; proto = "tcp"; sourcePort = 443; } # HTTPS
|
||||
{ destination = "10.100.0.2:42420"; proto = "tcp"; sourcePort = 42420; } # Vintage Story
|
||||
{ destination = "10.100.0.2:25565"; proto = "tcp"; sourcePort = 25565; } # Minecraft
|
||||
{ destination = "10.100.0.2:1443"; proto = "tcp"; sourcePort = 1443; } # Headscale DERP (tcp)
|
||||
{ destination = "10.100.0.2:3478"; proto = "udp"; sourcePort = 3478; } # Headscale DERP (udp)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue