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