• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 12 and Proftpd -- how to restrict listening on only 1 IP

Groo

New Pleskian
Hi,

This should be simple but I've tried:

- Adding to /etc/proftpd.conf:

DefaultAddress 1.2.3.4

- Adding to /etc/xinetd.d/ftp_psa:

bind = 1.2.3.4

....it still keeps binding to every IP on the box and I can't figure out why.
mad.gif


CentOS 7 (if that matters). Thanks.
 
I have just changed /etc/xinetd.d/ftp_psa to something like:

service ftp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/proftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
bind = [IP to bind to]
}

And binding works fine after that.
 
Back
Top