test
This commit is contained in:
parent
3317d23abe
commit
e5caa12452
1 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@
|
|||
5280 # Jitsi
|
||||
];
|
||||
networking.firewall.extraCommands = ''
|
||||
${pkgs.iptables}/bin/iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000
|
||||
${pkgs.iptables}/bin/iptables -A FORWARD -p udp -d 10.100.0.2 --dport 10000 -j ACCEPT
|
||||
${pkgs.iptables}/bin/iptables -t nat -A PREROUTING -d 64.176.54.57 -j DNAT --to-destination 10.100.0.2
|
||||
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to-source 64.176.54.57
|
||||
'';
|
||||
|
||||
services.xinetd = {
|
||||
|
|
Loading…
Reference in a new issue