Solved

Bind ProFTPD to only one IP address (to see in sockstat 192.168.0.1:21)

Posted on 2004-10-12
1
3,004 Views
Last Modified: 2013-11-22
Hello!

FreeBSD machine has 32 IP's.
Want bind ProFTPD to only one IP adress ( Not to use all socket like *:21 - only 192.168.0.1:21)
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
</Directory>

DefaultRoot ~
AllowOverwrite          on

Thanks for help!

0
Comment
Question by:kolyakarpov
1 Comment
 
LVL 5

Accepted Solution

by:
van_dy earned 250 total points
ID: 12292309
Hi karpov,
use the DefaultAddress option and then SocketBindTight, I havent tried this but see if it helps. add the following to your config


DefaultAddress     192.168.0.1
SocketBindTight                 on

Hope this helps.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now