Test
This commit is contained in:
parent
28796e53ce
commit
9e5fcb3856
1 changed files with 4 additions and 4 deletions
|
@ -20,10 +20,10 @@
|
||||||
5347 # Jitsi
|
5347 # Jitsi
|
||||||
5280 # Jitsi
|
5280 # Jitsi
|
||||||
];
|
];
|
||||||
# networking.firewall.extraCommands = ''
|
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 PREROUTING -p tcp --dport 80 -j DNAT --to-destination 10.100.0.2:80
|
||||||
# ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to-source 64.176.54.57
|
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -p tcp -d 10.100.0.2 --dport 80 -j SNAT --to-source 10.100.0.1
|
||||||
# '';
|
'';
|
||||||
|
|
||||||
services.xinetd = {
|
services.xinetd = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|
Loading…
Reference in a new issue