LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2004, 09:00 AM   #1
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Rep: Reputation: 15
linksys port forwarding problem


Hi. I'm trying to set up my own apache server. All is well with the server until I have to go through my Linksys router. Whenever I try to connect to my public IP address, I get sent to my router's config page. I found out that I needed to use port forwarding.

I configured my computer (the one running the apache server) with a static IP address (192.168.1.10) and I forwarded port 80 to that address (192.168.1.10)

However, I still come upon my router's configuration page. My mind has been boggled.

I am still running DHCP (I was told it didn't matter since the static address was below the DHCP scope) and all the other computers on my LAN are using a dynamic IP address.

Any suggestions?
 
Old 08-04-2004, 12:08 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That is really odd. Are you sure that you don't have a typo in the forwaded IP address? 192.168.1.10 is awfully close to 192.168.1.1. Also be sure that you've cleared your browsers cache. It could be the browser is pulling an old page from the cache rather than getting a new one. Even if you have remote management enabled, it is supposed to run on port 8080, not 80. I guess I'd check to make sure that remote management was off (and maybe even turn it on then off to make sure) and see if that clears up the problem. If that doesn't do it, I'd be seriously tempted to upgrade (or re-flash) the firmware.

I run a setup similar to yours in that I have a Slackware box at 192.168.1.95 and everything else connects by DHCP. I forward port 80 from the router to the Slackware box and it works without a hitch.
 
Old 08-05-2004, 10:45 AM   #3
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Hm... I upgraded the firmware which opened a whole ton of new options. Now when I access my public IP address, it doesn't connect to my router's configuration page - it doesn't connect at all.

Weird. Wild. Stuff.

Call me superstitious, but I even used 192.168.1.95 for my server's local IP address.

Is there an option on my router's config page that's preventing me from connecting through my public IP because I can connect to 192.168.1.95 and get my apache page.
 
Old 08-05-2004, 10:55 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Does your router have any NAT features, that is, it should redirect requests coming on port 80 of the WAN interface to your apache server. Can you post the model of your LinkSys router please.
 
Old 08-05-2004, 02:31 PM   #5
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Linksys BEFSR41
 
Old 08-29-2004, 02:46 PM   #6
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
I also have that problem. But i am using belkin 4 port router. So i stop using my router. Now i am using slackware 10.0 as my router. And running a webserver in it. Thats a better idea(i think). If u want to add more computers, buy some hubs.
I am not an expert. If u guys find a way to port forward to a computer inside a network, please mail me. My mail address is freestyler23x@blueyonder.co.uk . Good luck
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Problem with Port forwarding :( aronnok Linux - Networking 2 04-06-2005 02:16 PM
Some difficulty configuring port-forwarding through Linksys router eventide Linux - Networking 9 03-03-2005 01:04 PM
Forwarding port 80 to two hosts from a Linksys router ridertech Linux - Networking 1 08-19-2004 12:56 PM
Port forwarding in Linksys Box (cable/dsl) pudhiyavan Linux - Networking 1 01-22-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration