Test
This commit is contained in:
parent
c5a51d24ec
commit
29f30158a3
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
internalInterfaces = [ "wireguard0" ];
|
internalInterfaces = [ "wireguard0" ];
|
||||||
externalInterface = "eno3";
|
externalInterface = "eno3";
|
||||||
extraCommands = ''${pkgs.iptables}/bin/iptables -t nat -A nixos-nat-post -d 10.100.0.2 --dport 80 -j SNAT --to-source 10.100.0.1'';
|
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{ sourcePort = 80; destination = "10.100.0.2:80"; }
|
{ sourcePort = 80; destination = "10.100.0.2:80"; }
|
||||||
{ sourcePort = 443; destination = "10.100.0.2:443"; }
|
{ sourcePort = 443; destination = "10.100.0.2:443"; }
|
||||||
|
|
Loading…
Reference in a new issue