Proftpd: Can reach withing LAN but not 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.
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.
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.
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.