• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3177
  • Last Modified:

Bind ProFTPD to only one IP address (to see in sockstat


FreeBSD machine has 32 IP's.
Want bind ProFTPD to only one IP adress ( Not to use all socket like *:21 - only
It's for jails.
Tried all possible variants - zero result.

Here's proftpd config:

ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on

TransferLog                     /var/log/proftpd/proftpd.log
ExtendedLog                     /var/log/proftpd/access.log WRITE,READ
ExtendedLog                     /var/log/proftpd/auth.log AUTH

Port                            21
Umask                           007 007
MaxInstances                    30

User                            root
Group                           wheel

DebugLevel 0

<Directory /*>
GroupOwner      www

DefaultRoot ~
AllowOverwrite          on

Thanks for help!

1 Solution
Hi karpov,
use the DefaultAddress option and then SocketBindTight, I havent tried this but see if it helps. add the following to your config

SocketBindTight                 on

Hope this helps.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now