This commit is contained in:
iFargle 2023-12-03 12:33:42 +09:00
parent c1388a2a5d
commit 28796e53ce

View file

@ -20,10 +20,10 @@
5347 # Jitsi
5280 # Jitsi
];
networking.firewall.extraCommands = ''
${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
'';
# networking.firewall.extraCommands = ''
# ${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 = {
enable = false;