Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-22-2005, 07:19 PM
|
#1
|
Member
Registered: Oct 2004
Location: Merrimack, NH
Distribution: Ubuntu / Apple
Posts: 46
Rep:
|
Unstable FTP connections
Hello everybody
I have been having some problems with FTP lately.... Ever since I got my SDSL, actually.
I am running VSFTPD on my Fedora Core 3 server - It is connected to a swich which is connected to my SDSL terminator. My m0n0wall is connected to the switch, too.
The server has a static IP address - 216.177.19.108
Anyway, when I get on a Windows based computer (hooked to a cable modem, not the DSL) and open IE and go to my FTP server, it asks for a password but times out. If I open a command line and connect, it goes just fine and lists the directory.
It seems to be a problem with listing directories, it'll just hang and time out.
I tried to disable passive mode in IE, it will work just fine - But when I tell others to do it, it doesn't work - Maybe I just did something different - lol
Anyway - Is there any way that anybody knows of to make this more... stable? Post if you have any more questions!
Thanks!
-Equin
|
|
|
10-28-2005, 09:18 AM
|
#2
|
Member
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103
Rep:
|
you need to configure vsftpd to allow passive connections to your server, so that clients that are behind a firewall can open data connections properly.
In short, this consists of opening a range of unpriviliged ports to your server (I use 50000 to 50200) and telling vsftpd that this range is opened for passive connections. Here is a snippet from my vsftpd.conf, the lines that i needed to change or add to get passive ftp working:
pasv_enable=YES
pasv_min_port=50000
pasv_max_port=50200
pasv_address=72.224.117.144
the first line tells it to enable passive connections (duh)
the next two are the high and low end of the range of ports to use. If you leave these lines out, it will assume that any ports > 1024 can be used
the last is the address that it should send to the client computers for them to connect to. If you do not have this, the server will likely send out it's LAN address if it is not directly connected to the internet.
If you google for "vsftp passive configuration" and the like, you will find a ton of information about this.
I'll try to watch this thread if you have any more questions, I spent a lot of time figuring this out and I'm pretty confident in what I think I know now :P
|
|
|
All times are GMT -5. The time now is 11:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|