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;
|
enable = true;
|
||||||
internalInterfaces = [ "wg0" ];
|
internalInterfaces = [ "wg0" ];
|
||||||
externalInterface = "ens6";
|
externalInterface = "ens6";
|
||||||
forwardPorts = [{
|
forwardPorts = [
|
||||||
|
{
|
||||||
destination = "172.18.50.2:25";
|
destination = "172.18.50.2:25";
|
||||||
proto = "tcp";
|
proto = "tcp";
|
||||||
sourcePort = 25;
|
sourcePort = 25;
|
||||||
}];
|
}
|
||||||
|
{
|
||||||
|
destination = "172.18.50.2:80";
|
||||||
|
proto = "tcp";
|
||||||
|
sourcePort = 80;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,11 @@
|
||||||
proto = "tcp";
|
proto = "tcp";
|
||||||
sourcePort = 25;
|
sourcePort = 25;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
destination = "172.18.50.2:80";
|
||||||
|
proto = "tcp";
|
||||||
|
sourcePort = 80;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
destination = "172.18.50.2:465";
|
destination = "172.18.50.2:465";
|
||||||
proto = "tcp";
|
proto = "tcp";
|
||||||
|
|
Loading…
Reference in a new issue