Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've look over the forums, and don't see anything like the problem I'm having:
Linksys DSL Router - Linux Laptop (Dell I7000), RedHat 7.2.
Can't get Apache to work over the open net (apparently it doesn't like DHCP - I DID open the firewall on the Router for port 80). Could SSH (port 23) over the open net from work - could never access Port 80 correctly.
So, I turned of DHCP, and edited my ifcfg-eth0 file and my resolve config for my DNS servers.
Now, I can ping the Router, but can't connect to the Web or anything else outside the network.
ifconfig looks good, shows the right Broadcast IP, the right IP for the card, etc.
I turn back on DHCP - all works. Turn it off - hard code the same values - doesn't work!
make sure that there's a default gateway of 192.168.1.1 (or whatever your router's ip is, i'm assuming it's that since linksys defaults it). if there's no route to the gateway, then your machine doesn't know where to send network queries. you can add a default gateway like so:
Thanks, it was indeed the gateway! I am such a putz!
So, that is the good news - I'm off DHCP on the laptop. So, I tried the apache server from outside my network - still no go - resolves fine using "localhost", ""hostname" or my ISP dynamic IP number. Outside my network - 404 error.
I opened port 80 on the DLink Router (I know, I said I had a LinkSys...I'm getting old, sorry...), and in fact also opened port 23, and am able to ssh to port 23 by using the DynDNS.org alias I created, so it appears the outside world does properly know how to map to the current IP number to my box.
But, no go on port 80, or trying to access the Web server via the IP number outside my network.
Distribution: Whatever I feel like at the time I install.
This may not apply to you but some ISP's have blocked port 80. Do you know for sure that yours is open. Simply solution but may not be the correct one. If in doubt try putting the webserver on a different port and see if that works.
Anyone find a solution?
I can get out to Internet from my Linux Box, but nothing gets in.
Here's what I've got:
Linksys Router: 192.168.1.1
LinuxBox Webserver: 192.168.1.103
Actually IP seen by Internet(www.whatismyip.com): 22.214.171.124 (coincidentally points to someone else's site, Not mine...don't know why?)
Internally(behind router) I can access my Linuxbox webpage,(proves it works, Internally at least!), however nothing externally. I turned on Port Forwarding for Port 1230 instead of 80(in case it's blocked by ISP) and disabled DHCP, SPF, blocking of WAN requests. DMZ didn't work either.