Hi all, I created a port alias named ZimbraProxyPorts to redirect them all to the internal ip.
I noticed that all ports are redirected to the 110 (the first one of the list).
grep ZimbraProxyPorts /tmp/rules.debug
ZimbraProxyPorts = "{ 110 143 993 995 80 443 }"
rdr pass on vtnet1 inet proto tcp from {any} to {(vtnet1)} port $ZimbraProxyPorts -> 192.168.178.4 port 110
(https://imageshack.com/i/poa5SHtyp)
OPNsense 18.1-amd64
FreeBSD 11.1-RELEASE-p6
OpenSSL 1.0.2n 7 Dec 2017
It should be fixed since 18.1.1
https://github.com/opnsense/changelog/blob/master/doc/18.1/18.1.1
Quotefirewall: ignore target port alias in port forwards when it equals the destination
I'll update soon and confirm that.
Confirmed.
Whew, ok :)