»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-29-2004, 10:29 AM   #1 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 5
TVScoundrel is on a distinguished road
Changing the default port 21 for vsftpd?

Hi readers....

I have a problem with my internet provider. They block all ports
<1024 with exception of port 25 for smtp.

My provider advised me to use a different port for FTP but I have
no idea how to change it.

/etc/vsftpd/vsftpd.conf does not provide any entry except for:

connect_from_port_20=YES

but this does not specify which port to use instead.

Then I tried changing the /etc/services file to redefine the ports
for ftp from 20 to 8020 and from 21 to 8021

Changed

connect_from_port_20=NO

But to no avail, still connecting on port 21
8021 grants no connection... Isn't even found.

Any one of you out there that have a solution?


Last edited by TVScoundrel; 01-29-2004 at 11:36 AM.
TVScoundrel is offline   Reply With Quote
Old 01-29-2004, 10:52 AM   #2 (permalink)
Guest
Guest
 
Posts: n/a
You need to specify the ftp_data_port variable. More information is available here....

http://www.redhat.com/docs/manuals/e...-vsftpd-conf.h

Hope this helps,
Robert Richmond
  Reply With Quote
Old 01-29-2004, 04:43 PM   #3 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 5
TVScoundrel is on a distinguished road
Wow quick response!!!

Thanks dude... But the page is expired apparently so can't find the info there either...

Searched on the redhat site though... found nothing.
But maybe it is the way I'm searching that's wrong...

anywayz... anything else I might try?

Last edited by TVScoundrel; 01-29-2004 at 04:49 PM.
TVScoundrel is offline   Reply With Quote
Old 01-29-2004, 06:02 PM   #4 (permalink)
Guest
Guest
 
Posts: n/a
The link became truncated for some reason. Here it is, correctly formatted this time...

http://www.redhat.com/docs/manuals/e...ftpd-conf.html

---
connect_from_port_20=YES
ftp_data_port=X
---

X = the port number
  Reply With Quote
Old 01-30-2004, 01:32 AM   #5 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 5
TVScoundrel is on a distinguished road
Yeah,

I'm allready very happy I have registered on this forum.

Thanks RobRich!!

Last edited by TVScoundrel; 01-30-2004 at 03:12 AM.
TVScoundrel is offline   Reply With Quote
Old 01-30-2004, 03:08 AM   #6 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 5
TVScoundrel is on a distinguished road
For everyone with the same problem....

The exact solution to this problem:

in /etc/vsftpd/vsftpd.conf

connect_from_port_20=NO
ftp_data_port=8020
listen_port=8021


And it should work... It does for me!

Cheers,
Scoundrel.
TVScoundrel is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:23 PM.