Can't access NVR on LAN - but works on WAN - pfsense issue?

Associate
Joined
29 Nov 2005
Posts
1,161
So I've setup a Hikvision NVR and I'm using the Hikvision mobile app to view live feeds from my Hikvision cams.
In pfsense, I've created port forwarding rules and can get the app working specifying my external static IP address. Ironically that's supposed to be the hard part.

What I can't do is use the app while on the LAN (over the wifi). If I use the NVR's local LAN IP address in the app, it works (but then I can't use it remotely, unless I change it back).

I've enabled NAT Reflection in pfsense, but that doesn't seem to have made any difference.

Any thoughts?
 
Can you use hostnames instead of IP addresses with that app? If you can, you may be able to override the DNS name locally instead of the one available on the internet.
 
I've also just installed a Hikvision NVR which was refreshingly easy to setup.

My router (for all my exposed devices/servers) seems to handle things automatically, so all my apps are set to use my external hostname which works fine on the LAN or WAN.

However, one issue I have run into for other devices/server apps sounds similar to your problem, and it turned out that one of my port forwards was not just a simple direct mapping (i.e. wasn't external port 8000 mapped to internal port 8000), and so I realigned everything so that for external access all devices/services are directly mapped and all my issues went away..
 
I don't know the pfsense term for it but more generally I think you want hairpin NAT.

I know this thread is over a year old but thank you for this, I was stuck with the same issue as the op and searched Google, which found this thread. In pfsense it's called NAT Reflection and I set it up using this page https://www.netgate.com/docs/pfsense/nat/accessing-port-forwards-from-local-networks.html

Hopefully this will help anyone else with the same issue. I just installed pfsense today and forwarded the ports for the Hikvision NVR only to find it worked from an outside network but not on wifi.
 
I know this thread is over a year old but thank you for this, I was stuck with the same issue as the op and searched Google, which found this thread. In pfsense it's called NAT Reflection and I set it up using this page https://www.netgate.com/docs/pfsense/nat/accessing-port-forwards-from-local-networks.html

Hopefully this will help anyone else with the same issue. I just installed pfsense today and forwarded the ports for the Hikvision NVR only to find it worked from an outside network but not on wifi.

:cool: Glad you fixed your problem with my random mumbling :D
 
Instead of exposing your NVR to the internet directly I would use a VPN and then the address in the app would remain the same where ever you are ;)
 
Back
Top Bottom