Solved

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

Posted on 2004-10-12
1
3,054 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

688 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