This commit is contained in:
iFargle 2023-12-03 11:13:23 +09:00
parent 2b5de13bc8
commit cc84c01fb0

View file

@ -21,6 +21,13 @@
5280 # Jitsi 5280 # Jitsi
]; ];
networking.firewall.extraCommands = ''
iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination [Server_A_IP]:10000
'';
networking.firewall.extraStopCommands = ''
iptables -t nat -D PREROUTING -p udp --dport 10000 -j DNAT --to-destination [Server_A_IP]:10000
'';
services.xinetd = { services.xinetd = {
enable = true; enable = true;
services = [ services = [