LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsFTPd: change listening port (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-change-listening-port-116451/)

RinGz 11-15-2003 04:25 PM

vsFTPd: change listening port
 
I've sorta got a problem. My ftp server is getting scanned about 100+ times a day, so I want to change the port on which it listens. I found another thread that says to change the /etc/xinetd.d/vsftpd and add the line:
port = whatever

also the /etc/services should be edited, but I'm not sure how to edit this (well, what to change rather). Plus, I don't even know if this will work with vsFTPd, for the other thread was for another protocol, but as far as I know, it should be the same thing for all protocols.

Thanks for your help
-RinGz

TheOther1 11-15-2003 06:13 PM

from the VSFTPD FAQ :

Q) Help! Can I change the port that vsftpd runs on?
A1) Yes. If you are running vsftpd in standalone mode, use the "listen_port"
directive in vsftpd.conf.
A2) Yes. If you are running vsftpd from an inetd or xinetd program, this
becomes an inetd or xinetd problem. You must change the inetd or xinetd
configuration files (perhaps /etc/inetd.conf or /etc/xinetd.d/vsftpd)

RinGz 11-15-2003 07:35 PM

don't you just love to be made to feel a fool? I sure do :-D

thanks. I'll do it that way then (the xinetd way)
haha... yeaaah.....


All times are GMT -5. The time now is 08:25 AM.