Test
This commit is contained in:
parent
151eae0fe8
commit
c5a51d24ec
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@
|
|||
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 = [
|
||||
{ sourcePort = 80; destination = "10.100.0.2"; }
|
||||
{ sourcePort = 443; destination = "10.100.0.2"; }
|
||||
{ sourcePort = 80; destination = "10.100.0.2:80"; }
|
||||
{ sourcePort = 443; destination = "10.100.0.2:443"; }
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue