Firewall: NAT: Port Forward

Started by BlueSkyData, March 27, 2022, 11:37:09 AM

Previous topic - Next topic
Hi all, I am new to Opnsense, I have worked through the setup of NAT rules and I have most working with no issues, but I have one thats not working, and I can't work out why. Any help please,

I have 2 VM servers running web apps, running on the same public IP address with different ports. But I can only connect to one and not the other, but if I swap the rules round I can connect to the second but not the first. The servers are in the same public IP but different internal IPs and ports. I had this setup working on a Edge Router Light, but can not get it working on OPNsense.

e.g.
Public IP/port(8064) pointing to internal IP xxx.xxx.xxx.74/port (8064)
Public IP/port(8065) pointing to internal IP xxx.xxx.xxx.75/port (8065)

Any help would be great.
Thanks
Brendan.