• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to access 8 IP cam on lan from wan

Off-Topic & Non-Support Discussion
6
29
14.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hadi57
    last edited by Jan 25, 2008, 1:06 PM Dec 21, 2007, 7:19 PM

    hi

    thank you for your help

    this was the firewall/Nat

    and i can see on the nat page:

    if: wan
    proto: TCP
    ext.port range: 1400
    NAT IP: 192.163.1.112 ext:any
    Int. port range: 1400

    i don't know if this is correct

    note: i am using 1.2-RC3

    that's all

    is that right, if so how to access my ip cams form wan?

    1 Reply Last reply Reply Quote 0
    • H
      hadi57
      last edited by Feb 4, 2008, 7:17 PM

      hi again

      still cant access, how access the 8 cams? so i put the wan ip of pf box with the port to the wanted to be access cam, like this: 212.45.xx.xx:1400? if so i still cant access

      help really appreciated

      hadi57

      1 Reply Last reply Reply Quote 0
      • S
        sai
        last edited by Feb 22, 2008, 2:32 PM

        you have added a NAT rule. now check if you have firewall allow rule on the WAN interface to allow traffic to 192.163.1.112 : 1400

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by Feb 22, 2008, 3:02 PM

          @hadi57:

          …access cam, like this: 212.45.xx.xx:1400? if so i still cant access

          If you are using Internetexplorer it's maybe just an issue with a missing "http://" in front of that IP and port. For non standard ports (80 and 443) it won't know that this is http. Somehow stupid. Other browsers like firefox do it better  ;)

          Also how do you test this? If you test this from inside your network it won't work without natreflection turned on (system>advanced, very bottom).

          1 Reply Last reply Reply Quote 0
          • H
            hadi57
            last edited by Feb 29, 2008, 8:22 PM

            hi

            i am using linux and firefox for browse, this is my current configuration:

            nat.png
            nat.png_thumb
            firewall.png
            firewall.png_thumb

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by Feb 29, 2008, 8:32 PM

              Your first nat rule (the one for port 810) is wrong. It has to have the interface IP like all the others in it and not "any". Also disable or delete the first firewallrule at the WAN tab. Your pfSense is wide open to the world that way.

              Just another thought, a colleague of me baught a rather cheap ipcam. The cam has one port for the webgui to configure, however once you hit the webgui it loads an activex plugin that needs some other ports to be forwarded as well, that you can't change or that are not even documented in the manual. Once we found that out and added the according portforwards the cam worked. However if that was the case with your cam you would not be able to make more than one cam available at WAN.

              1 Reply Last reply Reply Quote 0
              • H
                hadi57
                last edited by Feb 29, 2008, 9:54 PM

                hi and thanks

                i am looking now at the ip cam site http://www.networkipcamera.com/faq_009-java.php
                trying to understand it.

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by Feb 29, 2008, 10:07 PM

                  Their cameras really seem to use multiple ports: http://www.networkipcamera.com/faq_004_soho.php

                  So you have to modify all of those ports on each cam so that each cam has unique ports and add a bunch of portforwards/firewallrules for each. Btw, you can make this much easier by adding portaliases for the cams and reduce the number of portforwards/firewallrules this way ;)

                  1 Reply Last reply Reply Quote 0
                  • H
                    hadi57
                    last edited by Feb 29, 2008, 11:09 PM

                    thanks again and again, ill go to site tomorrow and work on that

                    hadi57

                    1 Reply Last reply Reply Quote 0
                    • H
                      hadi57
                      last edited by Mar 4, 2008, 10:45 PM

                      hi
                      i went today and changed the video and web ports for all cams as well so my nat and fw looks like this but still cant access the cams i don't know what i did wrong:

                      nat.png
                      nat.png_thumb
                      fw.png
                      fw.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • J
                        jahonix
                        last edited by Mar 5, 2008, 9:58 AM

                        Just a quick observation:
                        If you NAT 15973 UDP you should firewall this as 15973 UDP as well. Not TCP…

                        1 Reply Last reply Reply Quote 0
                        • J
                          jahonix
                          last edited by Mar 5, 2008, 10:05 AM

                          How do you check that you cannot reach the cams from WAN?
                          If you're sitting behind a consumer router, usually doing just NAT, this is doable.
                          Since you are using pfSense in this install, chances are, you are behind a pfSense at home/in your office as well.
                          If you only opened http(s) ports for surfing there, you'll never get to school-ip:810. Then the problem is on the other side of the connection.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hadi57
                            last edited by Mar 7, 2008, 4:59 PM

                            hi

                            the port 15973 tcp is now udp

                            i am checking from home:
                            1- with pfbox connected.
                            2- without pfbox connected directly to dsl router

                            i try changing the 1st line https:443 to allow any so every thing is wide open like before, but still couldn't to connect to the school ip cams. i still don't know where is the problem, is it ok i give you the access to the server for a check? it will be really appreciable.

                            thank you again.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jahonix
                              last edited by Mar 7, 2008, 5:52 PM

                              I'm on holidays starting tomorrow.

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kris.J
                                last edited by Mar 27, 2008, 4:35 PM Mar 27, 2008, 4:29 PM

                                How about an entirely different approach?  ZoneMinder!

                                Setup a Linux host on your private network running ZoneMinder to create a single centralized point to access all cams.

                                Then you only have a single host to worry about when it comes to providing public access via your pfSense firewall.  :)

                                Oh, and you want per-parent user access control, I would go a step further and setup OpenVPN connectivity - I always perfer VPN to poking holes in a firewall when it comes to providing access to hosts on my private network.  If you are going to control user access instead of just have open public access, you should always implement VPN rather than poke holes in my opinion.

                                You could then create your time-of-day requirements on pfSense (rule only allows the OpenVPN connections during certain time frame) and manage your user access accounts on the ZM box.

                                I did it for the lulz.

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hadi57
                                  last edited by Mar 29, 2008, 8:09 PM

                                  thanks a lot for the advice, i download zm long ago, but never tried it, so i ll follow your advice and try it and post here what happens.

                                  thanks again

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hadi57
                                    last edited by Mar 30, 2008, 1:12 PM

                                    i was trying today to log in to one ip cam, it started to log but it took very long almost 10 minutes, i see the image frame but not the image itself, i mean white image.

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hadi57
                                      last edited by Apr 28, 2008, 11:01 AM Apr 13, 2008, 11:08 AM

                                      hi

                                      it is working i changed the IP cam model # and working perfectly.

                                      thanks a lot for all the help

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hadi57
                                        last edited by Apr 28, 2008, 11:04 AM

                                        hi again

                                        now i requested to make schedule rule for each cam to be available at a certain time of the day to be accessible publicaly, so i went to firewall > schedules to create a time rule for one of the cameras, i saw schedule name and description, how do i make this related to camera a or b or c etc…

                                        thanks in advance for the help

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jahonix
                                          last edited by Apr 28, 2008, 1:24 PM

                                          You need to create a rule for each cam and assign the schedule to it.

                                          Beware that schedules work a bit differently from the rest of the rules. It's mentioned when creating them, IIRC.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.