Troubleshooting port forwarding: Only works locally

jav989

Reputable
Jul 26, 2015
4
0
4,510
So I setup port-forwarding via the admin web ui for my netgear router. I've tested this on other machines locally, using the "external IP" address for my router, and the forwarding works (this external ip is the "Internet Port: IP" from the home screen of the router admin UI, but I can't find this IP address anywhere else). I assume this works because of the DNS resolver cache that recognizes the ip and forwards the port accordingly. I can also specify the local IP address of my local server and see that my app is running.

However...incoming external network connections are not getting forwarded. What else is curious is the fact that my internet port IP from the admin page is actually DIFFERENT than the IP address from whatsmyip.com and dig commands, so I'd say thats the real external IP. I can also ping my real external IP and i see that it works as well.

Anyone see anything I'm doing wrong, or some red flags? Been scratching my head on this one for a while.

 
Solution


Typically when the WAN IP of the router is different from the actual public IP address (e.g. from whatismyip.com), the problem is usually one of the following:

- another router in your network that has the public IP
- your ISP is a wireless ISP or...
I've followed those instructions before but still haven't gotten it to work externally. The port is forwarded locally though... so it seems as though theres something else at play... The key thing that doesnt make sense to me is the fact that port forwarding only works locally when I use the external IP from the admin screen. When I use my external IP as shown by dig commands or whatismyip.com, it doesn't work.

The open port is for a raspberry pi video camera feed on my network.
 


Typically when the WAN IP of the router is different from the actual public IP address (e.g. from whatismyip.com), the problem is usually one of the following:

- another router in your network that has the public IP
- your ISP is a wireless ISP or mobile network service
- your ISP uses carrier-grade NAT

It is the device assigned the public IP address that needs to be configured to forward ports. If that device belongs to the ISP, you'll need to contact them for assistance.
 
Solution