verguillas
asked on
How to change a ftp Port in Debian
Hello,
I was having a problem with proftpd and decided that I'm going to switch to pure-ftpd-mysql, but I need to change the port in order to do testing before I remove proftpd, doing a search in google I fount that in the file /etc/pure-ftpd/conf/Bind I can do it, but I don't have that file.
How can I change the port?
I was having a problem with proftpd and decided that I'm going to switch to pure-ftpd-mysql, but I need to change the port in order to do testing before I remove proftpd, doing a search in google I fount that in the file /etc/pure-ftpd/conf/Bind I can do it, but I don't have that file.
How can I change the port?
Are you using inetd? if so, you can add a port number and the corresponding program to the /etc/inetd.conf file
Did verguillas try all 2 suggestions? Please give feedback to me and beester.
ASKER
Hi to all,
First of all, I had to change to pure-ftpd, cause it was easier to do what I wanted to do.
Second, I apologize because I didn't answer before to this post.
Third, Quomodo, it's not a lack of courtesy, is a lack of time and experience using EE.
First of all, I had to change to pure-ftpd, cause it was easier to do what I wanted to do.
Second, I apologize because I didn't answer before to this post.
Third, Quomodo, it's not a lack of courtesy, is a lack of time and experience using EE.
Change your default ftp port 21 by editing the following file
/etc/services
use any text editing program you prefer for instance:
nano /etc/services
search this line:
ftp 21/tcp
set 21 to a port you like (except not a used port). Safe by hitting ctrl+o then ENTER. Then crtl+x to close.
/etc/services
use any text editing program you prefer for instance:
nano /etc/services
search this line:
ftp 21/tcp
set 21 to a port you like (except not a used port). Safe by hitting ctrl+o then ENTER. Then crtl+x to close.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
See http://www.debian-administration.org/articles/383
pure-ftpd-mysql seems to be authentication module for Pure-FTPd that allows to use MySQL to store user information (authentication information).
Hope this helps,
William Lee CISA
Hong Kong