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.
My problem is that when i start either service, I can log in but I can't send any commands. I've read some threads but I still can't get it. This is what I've done. I have set the ftp port to 21000 and the passive ports to 21001-25000. I have a router and in the settings I've set it to forward 21000 to the ftp server. Then I went to Filters (in my router) and enabled 21001-25000 to the same computer. And I still can't send any commands. I can login correctly though.
I've also logged on locally ( ftp localhost 21000 ) and it works fine; I can send commands. So I thought it was a internal firewall (the default one installed by the os), so I downloaded guarddog (because i don't know how to do iptables/ipchains) and had it disable the firewall. That didn't help.
So, I did some more digging, and when I'm logged on locally, and read the info that is sent back when i send a command, it says it connects to port xxxx, which is not in the range of the passive ports I have set it to.
Can anybody help? I don't even care if I have to get another ftp daemon. Just something so I can get an ftp server working.
Oh, on the router setting, I've also set that computer to DMZ too, and that didn't help.
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Rep:
you entered the wrong command.
Quote:
quote PASV
This gives the PASV command to your server. quote is (let's say similar to)
Hey server: Do "your command (in this case PASV)" for me!
So, you have put your server in PASV mode. (Which it probably was already)
The problem is, you need to set your client into pasv mode. Depending on what client you use, you could click an option somewhere, or on the commandline type passive.
NOTE: passive does NOT work wih the cmd-line ftpclient from windows, and it's a bit hard to get an webbrowser into it. (I.e. IE)
For windows, consider using WS_FTP . This client has the PASV tick under options / firewall.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.