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.
i am running pure-ftpd through inetd, and i am having problems that i have found many times with proftpd. i have a firewall/router that is setup to forward port 21 to my computer. this seems to kinda work. outside users can log in, but they cannot do any commands, such as 'ls'. I have read (on the following thread) that this is due to passive ports not being able to get throught the firewall. well in proftpd you can set that option in the config file, but it appears as though pure-ftpd does not have a config file. i am confused as to what to do.
pure-ftpd does not use a config file because everything is passed through the command line. all i needed to do was add '-p 3456:3456' to my list of arguments in inetd.conf, then forward all port 3456 requests to my computer
>how do tell my server and/or linksys firewall to only allow passive and not active?
I don't think you can and I don't think that is what littleking meant.
I suspect all you could do is add a sentance to the ftp server login message telling people to set their FTP client to passive mode.
If the people connecting to the ftp server from outside can receive incoming connections then active mode will probably work.
If they are NATed or firewalled they will probably have to use passive mode which you have now got working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.