Forward port 80 to mail servers for the http acme challange
This commit is contained in:
parent
215065aa6c
commit
91bd9f3c1d
|
@ -45,11 +45,18 @@
|
|||
enable = true;
|
||||
internalInterfaces = [ "wg0" ];
|
||||
externalInterface = "ens6";
|
||||
forwardPorts = [{
|
||||
forwardPorts = [
|
||||
{
|
||||
destination = "172.18.50.2:25";
|
||||
proto = "tcp";
|
||||
sourcePort = 25;
|
||||
}];
|
||||
}
|
||||
{
|
||||
destination = "172.18.50.2:80";
|
||||
proto = "tcp";
|
||||
sourcePort = 80;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -80,6 +80,11 @@
|
|||
proto = "tcp";
|
||||
sourcePort = 25;
|
||||
}
|
||||
{
|
||||
destination = "172.18.50.2:80";
|
||||
proto = "tcp";
|
||||
sourcePort = 80;
|
||||
}
|
||||
{
|
||||
destination = "172.18.50.2:465";
|
||||
proto = "tcp";
|
||||
|
|
Loading…
Reference in a new issue