Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Are you connecting to the web server from the lan side of your router?
Or is the setup page being seen from the wan side from a remote internet computer?
If the last then you need to disable the setup tool from the outside and change the port to anything other than 80. Most normally use port 8080.
Now for the first one, assuming it is a store bought router, this is not normal if the setup resides on port 8080 but if port 80 then that will happen. Now changing the store bought routers port to 8080 will still not help. Reason many of these router do not support the ability to dnat back through the router using the external IP.
Thanks Brian, here's setup to aid me on my explanation. The | followed by a "v" indicates a down pointing arrow. I'm a newbie, so sorry if my terminology is off (although I've spent quite some time on linuxhomenetworking and other tutorials)
Internet
(WAN)
|
v
(WAN)
Modem Earthlink
(LAN)
|
v
Router Linksys
(192.168.5.1)
| ------------- |
v ------------- v
Web
server ------- *This_PC*
(192.168.5.50) (192.168.5.103)
1) I went to my Linksys router setup page and forwarded port 80 to point at the Webserver's IP address (192.168.5.50)
2) Now, from *This_PC* I can type on my web browser 192.168.5.50 and I can access the Webserver's startup page (apache's default page).
3) My problem is getting access to the webserver from the WAN. If I type my WAN IP Address on a browser from *This_PC* I get to the Earthlink modem configuration page, which has no options of port forwarding.
How can I point the WAN IP address to my webserver? I have tried forwarding port 8080 on the Linksys router to point at the Webserver's IP address (192.168.5.50) but this does not help.
The problem was (I believe) that my first router (Linksys) (the one closest to the webserver) was forwarding port 80 just fine. But when it got to the the second router (built-in to my ISP-provided modem) things would get messed up (the firmware has very little configuration options). So I just pretty much disabled the modem (as I am not able to see it's configuration page) and when I type my WAN IP on a browser (from A LAN machine as you pointed out) I can get either to the first router (Linksys) or to my webserver (depending if i am forwarding port 80 or not).
So 'tis all good :-)
I still need to learn a whole bunch of security stuff (the books are thick), but I'm on my way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.