test
This commit is contained in:
parent
29f30158a3
commit
821f59d67b
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
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/ -t nat -A POSTROUTING -d 10.100.0.2 -p tcp -m tcp --dport 443 -j MASQUERADE
|
||||
";
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
internalInterfaces = [ "wireguard0" ];
|
||||
|
|
Loading…
Reference in a new issue