Can't access my IP camera over the internet

2

1

EDIT: My problem is solved, please read comments 2-5 and 8,9.

I have an EasyN F3 (F3-M166) IP camera. It works fine on local IP address, but I can't access it over internet. This is what I have done step by step:

  1. I configured the local IP (camera_ip) and port (camera_port) of the camera, using the software from the vendor's website: http://p2.ipcam.hk/

  2. I opened http://**camera_ip**:camera_port and it works. The page asks me username and password, I login and I see the camera video output.

  3. On my router (Netgear dg834gt) I forwarded the camera port this way:

    • Service -> Add custom service
      • Name: camera1
      • Type: TCP/UDP (overkill)
      • port: camera_port
    • Apply
    • Firewall rules -> Inbound Services -> Add
      • Service: camera1
      • Action: allow always
      • Send to LAN Server: camera_ip
      • WAN users: any
    • Apply

  4. I have discovered my external IP (external_ip) address with http://www.whatismyip.com/

  5. Then I tried to browse the address: http://**external_ip**:camera_port.

Result: the connection times out and nothing happens. The external IP was not changed in the meantime. The router logs a lot of events like this one:

Wed, 2013-10-16 16:51:17 - TCP Packet - Source:**local_pc_ip**,2119 Destination:**external_ip**,*camera_port* - [camera1 rule match]

My question seems similar to #400855, but in my case not even the http forwarding is working.

Marco Sulla

Posted 2013-10-16T17:00:16.890

Reputation: 441

Keep in mind that some ISP's also put multiple users behind one IP address so you wouldn't be able to access it unless you have a Static IP. Do you know if this is case? – paradd0x – 2015-05-19T14:39:50.467

2Are you trying to connect to your external IP from inside your own LAN? If so, no wonder you are failing: that's called hairpinning and it is generally impossible for most routers, unless suitably configured (and this too can be done only on some routers). – MariusMatutiae – 2015-10-21T07:11:26.767

Although this question is old, it has been bumped to the front page. Although the OP has put that their question has been answered, they haven't put or recommended an answer that can be selected as the best answer... – Kinnectus – 2018-12-07T12:08:48.400

You can also consider setting up a VPN connection in to your local network if you have a pfSense box setup or a hardware firewall box that allows for VPN connections. Otherwise, we need specific hardware information and what you have tried so far to port forward :) – Jason – 2013-10-16T17:02:56.957

3Are you trying to go to http:/externalip:port from behind the router? – Dan – 2013-10-16T17:07:45.117

@DanBig: yes, should I try to go try from a friend's pc? By the way, http:/externalip only works and open the router setting page. – Marco Sulla – 2013-10-16T17:11:41.937

3Uh, yeah, its not going to work from the inside. – Dan – 2013-10-16T17:13:04.063

@Dan: Nope, it does not work. – Marco Sulla – 2013-10-16T17:33:17.800

@FrankThornton: well, I wrote in my answer what I tryed to port forward my camera. About HW infos, it's here: http://www.easynp.com/ProductsShow.aspx?id=436 (camera) and here: http://www.downloads.netgear.com/files/GDC/DG834GT/DG834GT_DS_26Oct04.pdf (router).

– Marco Sulla – 2013-10-16T17:33:52.600

Can you validate that port forwarding works to another device? E.g. from outside your network to a port on your local PC (run netcat or a local service on the test port). – Hennes – 2014-01-04T18:03:13.493

1

For your information. There is NAT loopback technology which allows to connect to one's own public IP address from inside the network. Though, router should support it. (I state it here only because it was mentioned above)

– VL-80 – 2014-01-05T00:10:41.510

@Nikolay: so you have to add the domain to the host file. I finally understood why sometomes you have to modify that file. By the way, the first problem was caused by loopback, the second problem was caused by the ip camera, that works randomly. – Marco Sulla – 2014-01-05T14:24:00.497

@LucasMalor, good. Have you resolved the issue now? – VL-80 – 2014-01-05T15:50:05.907

@Nikolay: sorry for the delay, yes, I tested the cams using a phone with 3g connectivity. – Marco Sulla – 2014-04-02T12:21:43.440

Answers

0

The problem is in the port. Sometimes the ISP blocks some port like 80.

You have to change the port of the camera to something like 5656 or 8000.

user286807

Posted 2013-10-16T17:00:16.890

Reputation: 1

0

Should be some meddle-up with the port forwarding rules. try this link

Check if there are not any rules blocking outbound traffic and the Inbound rule is the top most line

pulsarjune

Posted 2013-10-16T17:00:16.890

Reputation: 1 242