Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2000 15:09:16 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Adam D. Marks" <amarks@ecst.csuchico.edu>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: inetd? 
Message-ID:  <3454.951311356@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Mon, 21 Feb 2000 13:30:57 PST." <Pine.GHP.4.05.10002211329150.28778-100000@polio.ecst.csuchico.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 21 Feb 2000 13:30:57 PST, "Adam D. Marks" wrote:

> I was curious if it is posible to have different inetd configurations for
> different network interfaces. If this is possible in any FreeBSD I would
> appreciate any info.

The information you're looking for _is_ in the manual page, but a little
guidance on what to look for wouldn't help.

Basically, you want to run _two_ inetd daemons, each bound to a
different address (using the -a option).  Each daemon is directed to
read its own configuration file (the last argument on the command-line).
You'll also want the two daemons to use different pidfiles (using the -p
option).

You can use inetd_flags in /etc/rc.conf to configure the first instance
of inetd, but you'll probably have to run the second one out of
/etc/rc.local .

Have fun!

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3454.951311356>