PDA

View Full Version : Linksys router won't forward.. to me...


unknownmosquito
2007-10-28, 04:52 PM CDT
Howdy!

I've got an interesting problem. My roommate has a Linksys router that he uses to connect his/my desktops and laptops to our school internet. I'm trying to run a web server on it since he isn't using port 80.

I set up the port forwarding in the settings to match his but with my statically-set IP and port 80 instead of his port 22.

However, it doesnt work, and I've run out of ideas why. I also can't forward 22 to myself (if i switch our IPs in the config) and I can see my server locally. I don't think /etc/hosts is the problem, and if I run
# nmap his.router.outside.ip
it reveals that his ports have been opened and mine are closed. This happens no matter what I try.

Any (really, ANY) ideas are welcome. I'm out of them.

jim
2007-10-28, 06:35 PM CDT
update the firmware on the router ?

woppa30
2007-10-29, 02:35 AM CDT
When you say the school internet is the IP adress the linksys router gets from a dhcp server and something like 192.168.*.* or 10.0.0.*... if so you may have trouble setting this up. You will need access to the router one level up from yours, and the school probably won't give you that access..
Is your IP address resolvable from the outside world ??
Hope this helps,
woppa

unknownmosquito
2007-10-30, 11:02 PM CDT
Oh, psh, yeah our IPs are resolvable from outside. NC State is real good about that. : )

and I don't think the problem is with the router -- I think its with my iptables or something...

c.teneyck
2007-10-31, 02:11 AM CDT
I would set the server as DMZ in the linksys and turn off firewall and selinux and then go to whatsmyip.org and use there online port scanner to check your ports. if it says open the start closing things down and work your way back to full operation with firewalls working....

thats just me

unknownmosquito
2007-11-01, 12:03 PM CDT
DMZ doesn't work either on his router. Ports are open if I scan from his machine. (locally, nmap)

c.teneyck
2007-11-04, 03:35 PM CST
well if your at a school then remove the router and then have a buddy do a port scan or use an online port scanner and see what it/he/she says.