Jacob Meuser ([EMAIL PROTECTED]) wrote:
>
> On Wed, Sep 22, 2004 at 08:32:21PM +0000, Bob Crandell wrote:
> > Hi,
> >
> > I want my server to be a time server.  Here is the bottom of the ntp.conf
> > file:
> > # Don't serve time or stats or trust anyone else by default (more secure)
> > restrict default noquery notrust nomodify
> > # Trust ourselves.  :-)
> > restrict 127.0.0.1
> >
> > How do I change this so anyone on my lan can use this?
>
> add the line:
>
> restrict 192.168.0.0 mask 255.255.0.0
>
> after the 'restrict default' line
>
> >  I'm guessing that
> > dropping the noquery from the first restrict line would help.
>
> that would allow _anyone_ to query
>
> >  I don't know
> > what to do with the second restrict line.  Comment it out?
>
> no, then localhost would have default (restricted) access ...
>
> the 'restrict default' defines the default policy.
> the additional 'restrict' define specific policies.
> a line with simply 'restrict <host>' means there
> are no restrictions on <host>.
>
> --
> <[EMAIL PROTECTED]>
> _______________________________________________
Thanks.  That's what I was looking for.

--
Bob Crandell, CNS
Assured Computing, Inc.
When you need to be sure.
http://www.assuredcomp.com/
P.O. Box 40814
Eugene, OR 97404
Voice - 541-868-0331
FAX - 541-463-1627


_______________________________________________
EUGLUG mailing list
[EMAIL PROTECTED]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to