Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
NAT rules don't work when connected to LAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: NAT rules don't work when connected to LAN (Read 723 times)
sc0ttjm
Newbie
Posts: 42
Karma: 1
NAT rules don't work when connected to LAN
«
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:80
87
redirects to internal IP 10.0.0.
1
:80 & 1.2.3.4:80
88
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
«
Last Edit: October 26, 2022, 02:52:04 pm by sc0ttjm
»
Logged
sc0ttjm
Newbie
Posts: 42
Karma: 1
Re: NAT rules don't work when connected to LAN
«
Reply #1 on:
October 26, 2022, 07:02:43 pm »
Found the solution elsewhere:
Firewall > Settings > Advanced
Turned on these 3 setting under "Network Address Translation"
Reflection for port forwards
Reflection for 1:1
Automatic outbound NAT for Reflection
Now all working as expected.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
NAT rules don't work when connected to LAN