Port forwarding cameras axis with pfsense
-
Hello
I have a camera axis with IP 10.132.218.67. I changed the standard port 80 to 8081. this camera is located in the network 10.132.x.x. This is an external network for me. I have pfsense 2.2.6 with two nics. One nic is located in the same network of the camera with IP 10.132.5.43 and the second nic for an internal network with 192.168.1.1 (this is an internal network for me with several servers).
The camera is the web server but in the internal network I have a client that I use to register the camera with a video surveillance tool installed in a computer with IP 192.168.1.30.
If I don't change the port of the camera, I register it in the client with the information below:
IP OF THE CAMERA: 10.132.218.67
port: 80
user:
passwordBut I would need to know how to nat or port forward to register or open the web of the camera using external IP of the pfsense router 10.132.5.43 which redirect the request to my computer in 192.168.1.30
Please, follow chart belowcamera 10.132.218.67–-------------------10.132.5.43PFSENSE192.168.1.1---------------------------COMPUTER TOOL 192.168.1.30
I want to use the 10.132.5.43 to register the camera or open the web of the camera
-
And what did you already try and isn't working as expected?
Simple HOW-TOs can be found at the documentation site at http://doc.pfsense.orgedit: or here in the forum, for example https://forum.pfsense.org/index.php?topic=142486.0;topicseen
-
I have pfsense 2.2.6
Probably about time to think about upgrading.
-
Ok, I configured Rules>LAN where I have the network 192.168.1.0/24 source *, POrt * to PORT 8081 the camera gateway * but it is not workin.
Any idea? -
Do these cameras have a gateway on them… Many of the threads in the past where people trying to get to "cameras" the camera didn't even have a gateway set or some couldn't even set them - meant to be viewed from the same local network.
Work around that is source nat so your port forward looks like it came from the pfsense lan IP vs some public IP 1.2.3.4, etc. That the camera would have to have a gateway to talk to through pfsense.
Troubleshoot your port forward via the troubleshooting doc...
https://doc.pfsense.org/index.php/Port_Forward_TroubleshootingI personally would not open up camera's to the internet - if you want to view your camera's feed then vpn in.. If they will not allow for gateway then same fix can be done there would source nat the connection.
-
I personally would not open up camera's to the internet - if you want to view your camera's feed then vpn in..
John,
spend a second reading the starting post.
He needs the cameras to be available from a different local site which is an external network to him. -
Thanks - I didn't read all the detail, my bad.. Thanks for the catch jahonix..
So 10.132 is different network than his lan.. Is there natting going on between the networks.. Can you ping the camera IP from your server in your lan 192.168 network?
If so you should be done - just register your camera how you would any other camera on the local network.
If you are natting then you need to port forward, if your not natting you just need to allow the traffic you want from the camera to the server, the server unless your locking down your lan outbound should be able to talk on any port it wants to your camera, etc..
Happy to help you work out what you need to do - but going to need a bit more info.