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.
|
 |
04-30-2003, 12:35 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2003
Posts: 5
Rep:
|
vsftpd 425 error
I have redhat 9 installed and am trying to set up vsftpd. When i connect using a ftp client and turn off pasv mode everything works great but when i have it on i get the following error.
PASV
227 Entering Passive Mode (192,138,153,51,67,206)
LIST
425 Security: Bad IP connecting.
what do i need to do to be able to use pasv mode?
|
|
|
|
04-30-2003, 02:38 PM
|
#2
|
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
Which vsftpd version are you using ?
How did you install vsftpd ?
What is your vsftpd configuration ?
|
|
|
|
04-30-2003, 03:28 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2003
Posts: 5
Original Poster
Rep:
|
I am using whatever version came with redhat 9 it installed with it so i didn't install anything. All i did was start the daemon and that was it.
|
|
|
|
04-30-2003, 10:03 PM
|
#4
|
|
LQ Newbie
Registered: Apr 2003
Posts: 5
Original Poster
Rep:
|
well i just reformatted because i had to fix a couple other things but i am still having the same issue, anyone have any ideas at all?
|
|
|
|
05-01-2003, 12:37 AM
|
#5
|
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
I didn't have this issue, but then well I've compiled vsftpd from source like I do with almost every service. Check the version:
rpm --qa | grep vsftpd
And post your config here!
|
|
|
|
05-06-2003, 11:09 AM
|
#6
|
|
LQ Newbie
Registered: May 2003
Posts: 1
Rep:
|
I just completed configuring an FTP server with vsftpd in RH9. I ran across some similar issues. It most likely is your firewall setup that is causing your problem. Do you have netfilter/iptables configured? PASV ftp connections want to use highports which may need to be enabled.
I specified a specific range of ports in the vsftpd.conf file
pasv_max_port=65000
pasv_min_port=55000
Made sure these same ports are specified in /etc/sysconfig/iptables by opening these same ports:
INPUT -p tcp -m tcp --dport 55000:65000 -j ACCEPT
INPUT -p tcp -m tcp --sport 55000:65000 -j ACCEPT
or just allow highports:
INPUT -p tcp -m tcp --dport 1025: -j ACCEPT
INPUT -p tcp -m tcp --sport 1025: -j ACCEPT
This fixed up my problems using PASV, hope that helps people trying to figure out vsftpd configs.
|
|
|
|
06-04-2003, 01:09 PM
|
#7
|
|
Member
Registered: Jun 2003
Posts: 90
Rep:
|
hey i got this same problem... but i cannot fix it.... i tryed the above way... didnt work... any idea...
Could it be my router?
the problem i get is that if i try and do anything that would return infomation (eg "ls") i get
500 Illegal PORT command.
425 Use PORT or PASV first.
|
|
|
|
06-21-2003, 01:09 AM
|
#8
|
|
LQ Newbie
Registered: Jun 2003
Posts: 1
Rep:
|
add this line to you vsftpd.conf
pasv_promiscuous=YES
Worked for me after checking the change log.
|
|
|
|
All times are GMT -5. The time now is 06:05 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
|
|