This commit is contained in:
albert 2024-03-30 15:33:00 +09:00
parent 21780fe17e
commit 7d0ddddbda
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 4 additions and 1 deletions

View file

@ -22,8 +22,8 @@
allowedUDPPorts = [
53 # DNS (udp)
10000 # Jitsi Meet (udp)
15635 # Enshrouded
15636 # Enshrouded
15637 # Enshrouded
];
};
};

View file

@ -20,6 +20,7 @@
3478 # Headscale DERP (udp)
10000 # Jitsi Meet (udp)
15636 # Enshrouded
15637 # Enshrouded
];
};
@ -31,6 +32,7 @@
type nat hook prerouting priority dstnat; policy accept;
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:10000;
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:15636;
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:15637;
}
}
'';
@ -43,6 +45,7 @@
forwardPorts = [
{ sourcePort = 10000; proto = "udp"; destination = "10.100.0.2:10000"; }
{ sourcePort = 15636; proto = "udp"; destination = "10.100.0.2:15636"; }
{ sourcePort = 15637; proto = "udp"; destination = "10.100.0.2:15637"; }
];
};
};