This commit is contained in:
iFargle 2023-12-03 11:21:16 +09:00
parent 9ceffebf0a
commit dd1f9fb2d5

View file

@ -20,8 +20,7 @@
5347 # Jitsi
5280 # Jitsi
];
networking.ipv4.forwarding = true;
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
'';