OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: sc0ttjm on October 26, 2022, 01:57:01 PM

Title: NAT rules don't work when connected to LAN
Post by: sc0ttjm on October 26, 2022, 01:57:01 PM
We have some NAT Rules on our OPNsense firewall to redirect CCTV browser traffic to the correct NVR depending on the port used.

E.G. 1.2.3.4:8087 redirects to internal IP 10.0.0.1:80 & 1.2.3.4:8088 redirects to internal 10.0.0.2:80

This works fine externally, but when somebody with a laptop comes into the office and plugs into the network, the shortcut they have to the CCTV system in their browser no longer works.
They get a generic error "This site can't be reached [sitename.co.uk] took too long to respond.

I can't work out a way to get around this, please could somebody help me?

Thanks

Title: Re: NAT rules don't work when connected to LAN
Post by: sc0ttjm on October 26, 2022, 07:02:43 PM
Found the solution elsewhere:

Firewall > Settings > Advanced

Turned on these 3 setting under "Network Address Translation"

Now all working as expected.