LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-11-2005, 06:34 PM   #1
bagaudron54321
LQ Newbie
 
Registered: Nov 2004
Location: Nsw autralia
Distribution: Mandrake linux 10.0 official, Knoppix 2004 bootable, Phat Linux XP
Posts: 17

Rep: Reputation: 0
Proftpd outside LAN what do i need?


Hi i am currently running the latest version of Proftpd. All computers in my LAN can access the FTP server through Internet Explorer. When i ask my friends to try to login to the server, either nothing happens or there browser freezes. My network adress given by DHCP server from my router/modem is 192.168.1.5. For anyone to access the proxy within the LAN they type ftp://openflame:@192.168.1.5 in IE and press enter, it prompts them for a password then they have acess.

I want to be able to let friends who are outside of the LAN (for example an ordinary internet user) to be able to access the FTP, I am not really concerned about security just yet, i just want people outside the LAN to be able to acess the server.

Do i need to have a static IP address or have the FTP registered somewhere for anyone to be able to acess it? Or is there some simple configuration of proftpd.conf that must be done???

ANY HELP IS VERY VERY MUCH APPRECIATED THANK YOU
 
Old 07-12-2005, 06:45 PM   #2
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
First of all, you probably have a crappy home router like the rest of us. By default it does routing, NAT and DHCP in one. NAT is very important because your ISP will only give you one ip address at a time. Try any host in your LAN and browse to Your Ip Address. You will notice they all return the same one and it will not start with '192.168.' NAT translates the one ip to multiple ips on the other side (and vice versa.) There are ip addresses that fall in to the realm of private addresses. Click here to read up. The '192.168.*.*' addresses I mentioned fall into this realm. They are also know as unroutable ips. You need no routing on LANS, however so they are perfect for home routers with NAT. So how does an outside host access your inside private ip host? The simple answer is port forwarding and your router "should" support it. Look at your manual. Basically config your router to forward all packets that come on the public address to the internal address of your choice (i.e. 12.34.56.78:21 forwards to 192.168.1.78:21) The connection is transparent to the remote host.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd: Can reach withing LAN but not outside LAN Harlin Linux - Networking 4 07-18-2005 12:57 AM
[Proftpd] Internal (LAN) access capped at 2MB/S? joekr Linux - Networking 4 07-10-2005 05:49 PM
Anonymous only from LAN, Users only from WAN ! on Proftpd RINO2004 Linux - Networking 3 06-30-2004 09:05 AM
Two things: ProFTPD & Getting Outside of LAN CanadianSlacker Slackware 5 12-16-2003 10:00 AM
proftpd - can't connect from outside lan hammer63 Linux - Networking 19 10-08-2003 07:08 AM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration