Test
This commit is contained in:
parent
2b5de13bc8
commit
cc84c01fb0
1 changed files with 7 additions and 0 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue