LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Proftpd: Can reach withing LAN but not outside LAN (https://www.linuxquestions.org/questions/linux-networking-3/proftpd-can-reach-withing-lan-but-not-outside-lan-344094/)

Harlin 07-17-2005 07:08 PM

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.

mhallbiai 07-17-2005 07:44 PM

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?

Harlin 07-17-2005 10:53 PM

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.

DaWallace 07-17-2005 11:01 PM

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.

Harlin 07-18-2005 12:57 AM

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.


All times are GMT -5. The time now is 11:45 PM.