test
This commit is contained in:
parent
821f59d67b
commit
13c90925e2
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.extraCommands = "
|
networking.firewall.extraCommands = "
|
||||||
${pkgs.iptables}/bin/ -t nat -A POSTROUTING -d 10.100.0.2 -p tcp -m tcp --dport 80 -j MASQUERADE
|
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -d 10.100.0.2 -p tcp -m tcp --dport 80 -j MASQUERADE
|
||||||
${pkgs.iptables}/bin/ -t nat -A POSTROUTING -d 10.100.0.2 -p tcp -m tcp --dport 443 -j MASQUERADE
|
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -d 10.100.0.2 -p tcp -m tcp --dport 443 -j MASQUERADE
|
||||||
";
|
";
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue