Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
NAT=>Port Forword redirects to wrong address
« previous
next »
Print
Pages: [
1
]
Author
Topic: NAT=>Port Forword redirects to wrong address (Read 2535 times)
Paweł
Newbie
Posts: 17
Karma: 1
NAT=>Port Forword redirects to wrong address
«
on:
August 20, 2020, 04:36:32 pm »
Hello everyone!!
I have 2 rules in "NAT=>Port Forward" section:
1. WAN TCP * * WAN address 554 192.168.13.64 554
2. WAN TCP * * xxx.xxx.xxx.101 554 192.168.17.2 554
xxx.xxx.xxx.101 is additional virtual address associated to WAN interface.
First rule works fine. Everything is ok.
Second rule is clone of first rule. I've change only "Destination".
When I try to connect port 554 on address xxx.xxx.xxx.101, the connection failed. "Live view" shows the connection was not redirected to "192.168.17.2" but "192.168.13.64".
I observed this same issue with "MS RDP" protocol. I've walk around the problem by changing port number and publishing all RDPs on "WAN address".
In this case, I can't change the port number, because it is hard-coded into application.
Does anyone have idea, how make it working? Thank for any advice...
Keep healthy
Logged
muchacha_grande
Full Member
Posts: 219
Karma: 19
Re: NAT=>Port Forword redirects to wrong address
«
Reply #1 on:
August 20, 2020, 05:47:53 pm »
Hi,
what if you change the order.
Cheers...
Logged
Paweł
Newbie
Posts: 17
Karma: 1
Re: NAT=>Port Forword redirects to wrong address
«
Reply #2 on:
August 21, 2020, 08:57:52 am »
Hi
Thx for answer.
No effect.
I've tried to publish other services on virtual IPs only. Not working.
Only redirects from the "WAN address" work as expected.
Cheers...
Logged
Patrick M. Hausen
Hero Member
Posts: 6813
Karma: 572
Re: NAT=>Port Forword redirects to wrong address
«
Reply #3 on:
August 21, 2020, 12:23:41 pm »
Is your virtual address of type "IP alias"?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Paweł
Newbie
Posts: 17
Karma: 1
Re: NAT=>Port Forword redirects to wrong address
«
Reply #4 on:
August 21, 2020, 03:01:34 pm »
Yes. Of course.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: NAT=>Port Forword redirects to wrong address
«
Reply #5 on:
August 21, 2020, 05:03:47 pm »
try to view rules in Firewall-Diagnostics-pfInfo-Rules
may be some bug with "WAN address" alias or some...
try to use separate aliase for main IP, and new alias for virtual IP and write new forward rules.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
NAT=>Port Forword redirects to wrong address