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.
ADSL(pppoe)(global IP unknown) --> IP sharing device (router)(192.168.1.1) --> 3 computers(2 linux , 1 windows)(192.168.21/22/23)
i use my router's settings to dial and access the internet and set it to DHCP server so that the 2 computers(22/23) can obtain their own IP's. I manually set a static IP for the first computer(21) with linux apache and proftpd. I also setup the DMZ host forward to (192.168.1.21) so that I can have a web server, but it didnt work, everytime I enter the global IP(I recieve from the ISP when I connect using pppoe) to the browser it just shows me the IP SHARING DEVICE setup page instead of the webserver on 192.168.1.21(1st computer) web serve. so I tried using virtual server and manually enterd the ports 80 and 21 for incoming and outgoing, same thing happens, it shows me to the IP sharing device setup page. i tried using ftp to connect and nothing happens... when I ping the global IP i get a reply... pls help me if you need more info ill post it.. thanks.
You will probably need to use the internl ip within your lan but the external IP outwith your lan - to test from outside your lan, use a web proxy like guardster: http://www.guardster.com
1. not all router are created equal, some router check traffic from both direction, and some cheaper router only check it from the internet side, but not from lan. If you got the second kind, you have to use the private IP when you are inside the lan.
2. try port forwarding instead of DMZ on the router for 2 reason, (a) security and (b) it works differently from DMZ. If that doesn't work, you know you got the second kind of the router mention above.
thanks for the help guys... it was working all along.. i went to an internet cafe and check my server if its working. and yes it is... I was wondering why i can view it from my own from my own lan using the public IP. anyway its working now.. thanks to both of you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.