Cant connect to my webserver and ftp server from outside LAN
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.
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.
Cant connect to my webserver and ftp server from outside LAN
I have an FTP server (vsftp) and a web server (apache) running on my slack box. Both work perfectly inside the LAN. ie: http://10.10.19.152 and ftp://10.10.19.152
People outside the lan aren't able to connect to my servers. The connection simply times-out every time. It used to work perfectly a few months ago.
I guess you are using a router then? You will need to forward port 21 (default) for the ftp server and port 80 (default) for Apache. For example, let's say I have 3 machines in my network:
megamanx (192.168.2.3)
zero (192.168.2.4)
stormeagle(192.168.2.5)
"megamanx" has the servers, so I go into my router and forward those ports (21 and 80) to megamanx (192.168.2.3). This is very simple to do, but every firewall works differently, so...
If you are sure that you've got those ports forwarded, contact your ISP, something have happened there I guess..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.