OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [RESOLVED] NAT of alias redirects to single port
« previous next »
  • Print
Pages: [1]

Author Topic: [RESOLVED] NAT of alias redirects to single port  (Read 2280 times)

sirio81

  • Newbie
  • *
  • Posts: 44
  • Karma: 5
    • View Profile
[RESOLVED] NAT of alias redirects to single port
« on: April 10, 2018, 10:17:35 am »
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



Code: [Select]
OPNsense 18.1-amd64
FreeBSD 11.1-RELEASE-p6
OpenSSL 1.0.2n 7 Dec 2017
« Last Edit: April 11, 2018, 03:28:06 pm by sirio81 »
Logged

sirio81

  • Newbie
  • *
  • Posts: 44
  • Karma: 5
    • View Profile
Re: NAT of alias redirects to single port
« Reply #1 on: April 10, 2018, 02:55:42 pm »
It should be fixed since 18.1.1
https://github.com/opnsense/changelog/blob/master/doc/18.1/18.1.1
Quote
firewall: ignore target port alias in port forwards when it equals the destination

I'll update soon and confirm that.
Logged

sirio81

  • Newbie
  • *
  • Posts: 44
  • Karma: 5
    • View Profile
Re: NAT of alias redirects to single port
« Reply #2 on: April 11, 2018, 03:27:47 pm »
Confirmed.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: [RESOLVED] NAT of alias redirects to single port
« Reply #3 on: April 11, 2018, 05:15:52 pm »
Whew, ok :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [RESOLVED] NAT of alias redirects to single port
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2