test
This commit is contained in:
parent
dd1f9fb2d5
commit
e43373a036
1 changed files with 2 additions and 7 deletions
|
@ -20,13 +20,8 @@
|
|||
5347 # Jitsi
|
||||
5280 # Jitsi
|
||||
];
|
||||
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000
|
||||
'';
|
||||
networking.firewall.extraStopCommands = ''
|
||||
iptables -t nat -D PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000
|
||||
'';
|
||||
networking.firewall.extraCommands = ''${pkgs.iptables}/bin/iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000'';
|
||||
networking.firewall.extraStopCommands = ''${pkgs.iptables}/bin/iptables -t nat -D PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000'';
|
||||
|
||||
services.xinetd = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue