I have following configuration-
--DSL Modem---- (Has only 1 lan port ) -IP address - 192.168.1....DHCP ON

--Netgear Router R6300V2 --- Connected to modem via WAN port on router -IP address --10.0.0.1.... DHCP ON

--IP Camera -IP Address --10.0.0.64.. STATIC IP - Connected to lan port on router.

My all devices are connected to router. How can a i do port forwarding of IP camera to router then again from router to modem ?

Dani AI

Generated

As situation shows, the real problem is double NAT: an upstream device is doing NAT before the Netgear. That prevents a single simple port-forward on the Netgear from being reachable from the Internet. As suggested, the cleanest fix is to make the upstream device a transparent bridge so the Netgear gets the public IP and handles all forwarding.

Recommended approaches and practical notes:

  • Bridge the modem (preferred). Put the modem into bridge mode (or ask the ISP to do it). Then set the Netgear WAN to obtain the public IP (or configure PPPoE with ISP credentials if required). After that, a single port-forward on the Netgear to the camera is sufficient. Bridging may disable ISP features (VoIP, modem GUI), so confirm with the ISP first.

  • If bridging is not possible, use the modem's DMZ or chained port-forwards. Reserve a fixed WAN address for the Netgear in the modem’s DHCP table, then either set that address as the modem’s DMZ host or forward the camera port from the modem to the Netgear WAN and from the Netgear to the camera. Example mapping:

    (modem) public:8000  -->  router WAN:8000
    (router) public:8000 -->  camera LAN:80
  • Watch for CGNAT. If the router WAN address is itself in a private or 100.64.0.0/10 range, the ISP is using carrier NAT and inbound forwarding will not work. In that case request a public IP from the ISP or use a VPN/cloud relay solution.

Troubleshooting & security tips: confirm local camera access first; check the router WAN address to detect double NAT; reserve static/ DHCP-reserved WAN addresses; test from a mobile data connection or an external port-check tool; keep firmware updated, use strong admin passwords, and prefer a VPN to expose cameras instead of opening ports when feasible.

Recommended Answers

All 3 Replies

Sounds like your DSL modem is in router mode. First thing is to see if your DSL modem has a bridge mode or has an option for a router behind router mode. This way your netgear becomes your permimeter device.

Second, on your netgear you need to create the port forward on your IP camera listening port from the outside to the internal camera ip at 10.0.0.64

My router doesn't have bridge mode but has port forwarding option. Can i do port forwarding from ip camera to router than forward the same port with routers ip to modem? Will this work ?

You described your modem having a private ip on the inside. The Modom must go into bridge mode, not your wifi router.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.