test
This commit is contained in:
parent
c853d35b20
commit
36508419c0
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
{ ... }: {
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
@ -39,6 +39,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 4443 dnat to 10.100.0.2:4443; # Jitsi
|
||||
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:10000; # Jitsi
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@ -60,6 +61,7 @@
|
|||
{ sourcePort = 42420; proto = "tcp"; destination = "10.100.0.2:42420"; } # Vintage Story
|
||||
{ sourcePort = 25565; proto = "tcp"; destination = "10.100.0.2:25565"; } # Minecraft
|
||||
{ sourcePort = 4443; proto = "tcp"; destination = "10.100.0.2:4443"; } # Jitsi
|
||||
{ sourcePort = 10000; proto = "udp"; destination = "10.100.0.2:10000"; } # Jitsi
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue