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

    Cctv remote access for hikvision ip camera

    Scheduled Pinned Locked Moved NAT
    39 Posts 4 Posters 12.9k Views
    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.
    • K
      kejianshi
      last edited by

      That probably means that you are port forwarding connections from your WAN to your IP CAMs?

      Thats not a good habit to be in unless you want those to get hacked.

      I'd close the ports, disable the cams uPNP.  Give the cams static IP reservations at the bottom of the DNS Server page.

      Give your entire system static reservations actually.

      Then configure openvpn and only use the vpn to access your cam and other things.

      1 Reply Last reply Reply Quote 0
      • R
        rakeshbaden2hotmail.com
        last edited by

        hi kejianshi

        i have closed all the port after your advice, and used grc.com to check if all the ports closed or not. its come up pass and you have mentioned disable the cams upnp ok i will do that. but please advice how how will i do the static ip reservations from DNS server page another thing i wanted to mention is i have 4 ip camera connected via NVR Recorder. so do i only need to use static ip on NVR ? and again is there idiot guide to this openvpn for remote access to my cctv while i am away from home
        sorry i been at it for quite a long time and still asking same old questions.

        sorry once again
        to take up your time

        many thanks

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          You can run DHCP for the cams

          Then go to Status: DHCP leases

          click the + button to the right of the IP cams (one at a time)

          This will enable you to make static reservations.

          Make sure you assign them IPs above or below where LAN DHCP is assigning IPs automatically.

          1 Reply Last reply Reply Quote 0
          • R
            rakeshbaden2hotmail.com
            last edited by

            hi kejianshi

            would i need to still add my ip camera one at a time even though they all four get plugged in back of NVR Recorder and so on.

            i am lost all together now

            sorry

            many thanks

            rb

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Are your cameras IP cams?  Are they plugged into a switch connected to pfsense LAN by CAT5 cable?

              1 Reply Last reply Reply Quote 0
              • R
                rakeshbaden2hotmail.com
                last edited by

                hi kejianshi

                yes i have hikvision 3 of these ip cameras( http://www.hikvision.com/Es/Products_show.asp?id=8722)
                and 1 of this one (http://www.hikvision.com/Es/Products_show.asp?id=8724)
                all these ip cameras connected via NVR (Hikvision DS-7616NI-SE/P )(http://www.hikvision.com/Es/Products_show.asp?id=7294)

                if you see my first post it has the setup pic how my system is setup for home network to cctv cameras NVR with CAT5 cable

                many thanks
                rb

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  My question though is once those IP cameras are plugged into the NVR is can you access the camera directly on the LAN or only from the NVR?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rakeshbaden2hotmail.com
                    last edited by

                    hi kejianshi

                    sorry i can only view through my NVR ip address.
                    i hope i understood the question right.

                    many thanks

                    rb

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      OK - Then its your NVR address you need access to.  No problem then.

                      Build your pfsense.  Add the settings for openvpn.  Add the client export packages for openvpn.  Export a package.  Try to access the NVR remotely.

                      1 Reply Last reply Reply Quote 0
                      • R
                        rakeshbaden2hotmail.com
                        last edited by

                        hi kejiansi

                        this is good news! so far you have understood my problem. but, is there an idiot proof guide i can follow step by step so that i don't make any more mistakes and waste any of your valuable time.

                        many thanks

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by

                          @rakeshbaden2@hotmail.com:

                          is there an idiot proof guide i can follow step by step so that i don't make any more mistakes and waste any of your valuable time.

                          https://doc.pfsense.org/index.php/OpenVPN_Remote_Access_Server

                          P.S. On a totally unrelated note - unless you love spam, you might consider asking some forum admin to change your username. (As an added bonus, it will stop breaking the forum layout :P)

                          1 Reply Last reply Reply Quote 0
                          • K
                            kejianshi
                            last edited by

                            Not really.

                            You need either a static IP on the WAN or a dynamic DNS service.  I use both dyndns and no-ip.  I like dyndns better because they are pretty fire and forget.  There are others.

                            Do your best to set that up.

                            Then do your best to set up openvpn.

                            Then come back and post your configuration and people can start helping you get it working.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by

                              uhhhhhh yeah.  I probably wouldn't use my email address as my username.  (don't change it to your bank account number either)

                              1 Reply Last reply Reply Quote 0
                              • R
                                rakeshbaden2hotmail.com
                                last edited by

                                hi guys

                                done the easy bit changed the user name lol. now i need to try to do the hard thing follow your instructions.

                                many thanks

                                rb

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kejianshi
                                  last edited by

                                  Its not so hard - Once you get it configured, even if its broken at least we can tell you what fields to change.

                                  Right now there is nothing to work with.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rakeshbaden2hotmail.com
                                    last edited by

                                    hi kejianshi

                                    https://www.highlnk.com/2013/12/configuring-openvpn-on-pfsense/

                                    can i follow this above link to setup or not please advice.

                                    many thanks

                                    rb

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kejianshi
                                      last edited by

                                      Follow what doctornotor sent.

                                      https://doc.pfsense.org/index.php/OpenVPN_Remote_Access_Server

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rakeshbaden2hotmail.com
                                        last edited by

                                        hi kejianshi

                                        cool i will try this tomorrow eve, now its time for bed.

                                        thanks very much

                                        rb

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rakeshbaden2hotmail.com
                                          last edited by

                                          hi guys

                                          openvpn installed thank god and ofcourse your help too. now what i need to do to access my cctv remotely please.

                                          many thanks

                                          rb

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kejianshi
                                            last edited by

                                            Install a openvpn client on your computer
                                            run it
                                            connect
                                            browse to the ip address of that camera box on the lan

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