[RESOLVED] NAT of alias redirects to single port

Started by sirio81, April 10, 2018, 10:17:35 AM

Previous topic - Next topic
April 10, 2018, 10:17:35 AM Last Edit: April 11, 2018, 03:28:06 PM by sirio81
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



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.