Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I am trying to setup Fedira 12 Linux Apache in my home network. I am able to access the hosted website from inside my home network without any problem.
I am facing the problem to access it from outside. At the moment i have connected the Apache directly to DSL modem for testing purpose. I was reading "The ISP may have blocked the HTTP port 80. So check it by connecting the Apache directly to DSL modem."
The temporary network connections for testing purpose are as follows..
DSL modem (SIEMENS Speed Stream 4200)-->Fedora 12/Linux Apache Server
I am even unable to PING the real ip (IP for DSL modem).(Firefox gave me error message "Connection Timed out) I have tried to ping it from the internet.I can PING the DSL from Apache without any problem.
My doubts/questions are.
1. Why i am even unable to PING the real IP of DSL modem at my home.?
2. Is it possible to run/setup Apache by using this type of DSL modem?
3. DSL modem has real IP. DSL MODEM assigns private IP (192.168.x.x) to Apache. So when a http request form the internet came to DSL modem on port 80, will it forward to Apache automatically.? or i have to made any changes.(I can not see anything in DSL modem to change/modify), OR do I have to use another DSL MODEM/Equipment (router)?
This setup is just temporary. The actual design is as follows
DSL MODEM(Speed Stream 4200)-->Fedora 12 Linux ROUTER--->Internal network with DNS/Apache Server
Am i going to right direction?. Is all of my understanding is correct?
Please help.
Thanks
Last edited by KinnowGrower; 02-07-2010 at 09:33 AM.
1. Check the firewall of the router, be sure it has exception rule for that
2. Yes.
3. Check your modem is set to forward port 80 (needed for apache)
My router settign are accessible through 192.168.1.1 with user and password. Check address for your and set firewall and port forwarding.
Hi konzo
Thanks for reply.
First of all please note that i am using the temporary network connection (Connected Apache directly to MODEM). There is no router in between.
I wanna make it more clear to understand the issue.
1. The Apache is directly connected to the DSL modem as shown below
DSL Modem-->Fedora Linux/Apache server Directly connected to MODEM
2. There is no Port forward thing on modem to set. Yes , it has just few settings. No port forwarding settings. (thats why i was wondering (question number 3 in First post) weather it will work or not).the model of modem Speedstream 4200
3. Why i am unable to ping modem ip from internet? any idea?
any hint please?
Last edited by KinnowGrower; 02-07-2010 at 08:54 AM.
There are two very good reasons to not use port 80.
Your ISP almost undoubtedly doesn't allow it and scans for it, and
There are thousands of criminals scanning home IP addresses looking for open ports to cause havoc with.
I do what you are trying to do, but I configured Apache to listen to a high port number (pick one--almost any one), and configured the router to forward that port to my PC's local IP address.
I can access it from either inside or outside the house with the form of http://IP-ADDRESS:PORT/.
You probably can too.
As for pinging, my router allows me to specifically configure it (via it's web interface) to either respond to pings or ignore them.
Good point...your second good reason not to use port 80. I myself is running proxy site at my place and definitely using port 80. I'll change it to something else. Thanks.
and as not to hijack this place.... He mentioned he doesn't have a router at the moment. I'm not sure if there's a configurable modem to forward inbound packet request. I think he needs a router to route the request.
What i understand from the discussion is , i have to disable the firewall from my modem or have do made some other kind of changes to modem configuration. But still i am not able to find those settings on my modem. This Modem has just few settings. (no firewall or port forwarding options) May be i have to jailbreak the modem or use different modem.
Let me try that...
Thanks
Last edited by KinnowGrower; 02-08-2010 at 11:03 PM.
Link seems to be informative, go and read it. It's exactly the same modem model as yours. You need to do some configuration on your modem like to enable port forwarding and stuff like that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.