Changing default ftp port

illoai at gmail.com illoai at gmail.com
Mon May 28 05:09:13 UTC 2007


On 27/05/07, dbetts <betts at norden1.com> wrote:
> I don't allow anonymous FTP into my server but when I look at the logs I
> see lots of attempts to FTP in.
> I had the same problem with SSH but changed that port and now I don't
> have that problem.
> How would I change the default FTP port from 21 to another port?
> What port would work?
> Thanks

man 8 ftpd
look at the -P option (I think this works in /etc/inetd.conf
if that's how you start ftpd)
I won't even guess if you're using some ftpd from ports.

-- 
--


More information about the freebsd-questions mailing list