• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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