LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-17-2005, 07:08 PM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Proftpd: Can reach withing LAN but not outside LAN


I just installed proftpd on Mandriva Linux.

I can login to it using my normal user account from a computer within my LAN. However, when I try to reach it outside the LAN, I can't do it. It just hangs for some reason. I made sure that port forwarding on my router is set up. It points to 192.168.15.101 (my ftp server) for all inbound port 21 packets. I have tried restarting proftpd but this makes no difference.

If anyone can help, I would really appreciate it as this is a production server.

Thanks.
 
Old 07-17-2005, 07:44 PM   #2
mhallbiai
Member
 
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
need a little more information.

when it 'just hangs', is that when trying to establish connection before login prompt? are you able to login? hangs when trying to get ls? are you connecting from another linux system? is it firewalled?

can you walk through to the point that you experience the problem?
 
Old 07-17-2005, 10:53 PM   #3
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 30
when it 'just hangs', is that when trying to establish connection before login prompt? no, i'm using something like Internet Explorer from work.

are you able to login? yes from within the local network but not from across the internet (outside the local network)

hangs when trying to get ls? not sure what this means

are you connecting from another linux system? yes and from a windows box as well

is it firewalled? yes, the port-forwarding description i gave should give you an idea

can you walk through to the point that you experience the problem? please read my original description. it should be more than enough description.
 
Old 07-17-2005, 11:01 PM   #4
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
i spent loads of time on this long ago.. there's stuff you can do..
you need to specify the ip address or hostname of the public ip address and forward some ports.

these options may be useful in your proftpd.conf file

MasqueradeAddress [ip address or hostname]
PassivePorts [low end of range] [high end of range]

I think thats your problem, but there's no way to be sure.. try it.
 
Old 07-18-2005, 12:57 AM   #5
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 30
Looks like the 'masquerade' option did the trick. I did indeed have the port forwarding correct. One question though... I notice that ProFTPd runs slower (substantially so) than IIS's FTP server. Is there any reason for this? Is there any thing I can change to get it to run a bit faster?

Thanks.
 
  


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
cannot reach internet from private LAN toodr Linux - Networking 12 10-23-2005 07:44 PM
Proftpd outside LAN what do i need? bagaudron54321 Linux - Networking 1 07-12-2005 06:45 PM
Can not reach server from LAN after adding router Jedyte Linux - Networking 8 09-01-2004 10:48 AM
LAN Gaming, with router doesn't work, but can reach the internet GT_Onizuka Linux - Networking 4 02-26-2004 09:08 PM
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 08:56 AM.

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