Forward port 80 to mail servers for the http acme challange

This commit is contained in:
fi 2023-09-19 16:48:17 +02:00
parent 215065aa6c
commit 91bd9f3c1d
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
2 changed files with 14 additions and 2 deletions

View file

@ -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;
}
];
};
};

View file

@ -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";