I'm trying to set up port forwarding with my Comcast cable modem, an SMC 8014. Normally this is pretty straightforward (give a port range, tell it to forward to a LAN IP) but for some reason it doesn't seem to be passing traffic through on this box. :(

My Setup

  1. I have Comcast business-class cable Internet with 1 static IP address
  2. They gave me an SMC 8014 gateway
  3. My laptop is plugged into the gateway via an ethernet cable
  4. My laptop gets an IP like 10.1.10.66
  5. I logged into the 8014, went to the admin page (Firewall settings -> Port Configuration tab -> Port Forwarding menu), and added a forwarding rule for a public range 4000-4000, and a private range 4000-4000, all protocols, and used my LAN IP

Simple Tests

  1. If I go to http://www.whatismyip.com/ my public IP is indeed my gateway IP, e.g. 173.x.x.x
  2. I can ping the public IP, e.g. ping 173.x.x.x
  3. If I run a web server on my laptop, at say port 4000, I can go to my LAN IP just fine, e.g. http://10.1.10.66:4000
  4. If I try to get to web server from the gateway it fails, e.g. http://173.x.x.x:4000

... Is there something I'm missing? Is there something else I have to do?

(Note: I did notice that on the Port Forwarding rule I created I could not click the Enable box and get it to stay "on".)

Thanks!

link|improve this question
She is using port 4000, not 8080, although your Note that you could not click the Enable box is a bit disconcerting. I would expect your problem is related to that check box. – heavyd Feb 10 '10 at 21:14
feedback

2 Answers

up vote 0 down vote accepted

It sounds like the SMC 8014 does not know how to route the packets back to you. Port forwarding on basic routers normally only forwards traffic from a WAN IP address to LAN IP address. I think in this case, because you are trying to connect from a LAN IP address to a WAN IP address, the data is lost because the router does not have any LAN to WAN port forwarding rules set up. Only WAN to LAN. Some routers are clever and do not have this problem.

It would be worth asking someone to test the WAN IP address to see if they can connect. I checked the setup on portforward.com and I cannot see any other settings that need to be changed on the router, beyond what you have done.

Ah ha.. I'm not going completely crazy. There is a post on this exact problem here on superuser which explains it much better than I can.

link|improve this answer
Thanks for the tip on the other Super User post---I'll read it in depth. In my case I'm trying to get a computer on the Internet to be able to talk to one of my laptops on the LAN and the gateway is doing its usual NAT. But you have me wondering if it's the case that things are in fact working OK but because I'm connecting from the LAN to begin with the gateway is getting confused. I'll try to connect from outside the office... Thanks again! – Amy Feb 10 '10 at 21:57
Sorry, I should have just posted the link without all my confusing rubbish before it :-p I think you're right and it wouldn't surprise me if it is indeed working okay from out on the internet. The official terminology is "NAT loopback/reflection" if you wanted to really read up about it. – kez Feb 10 '10 at 22:14
kez, cool! Yup it turns out things were working OK---because I was testing from the LAN! I was able to use a computer on a different network access it just fine. – Amy Feb 11 '10 at 21:46
feedback

There should be a setting called "DMZ", just input your static ip and then check the enable box. All of your ports should be forwarded.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.