Date: Mon, 14 Nov 2005 13:15:14 -0500 From: "Dave" <dmehler26@woh.rr.com> To: <freebsd-questions@freebsd.org> Subject: Re: ntp handling in 6.0 Message-ID: <002301c5e947$5c4c6ef0$0900a8c0@satellite> References: <000901c5e7da$2bf28cd0$0900a8c0@satellite> <44iruv9suv.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Thanks for your reply. My server box does indeed have ntpd running i confirmed it with ps -aux and it does have a pf firewall. The rules are: # allow UDP requests to port 123 from firewall to exit ext_if_if # in order to contact internet ntp servers # (keep state on this connection) pass out quick on $ext_if inet proto { tcp, udp} from $ext_if to any port 123 keep state # allow UDP requests to ports 67, 68, and 123 from # in order to perform dhcp and ntp queries on the firewall # ( Keep state on this connection) pass in quick on $int_if inet proto { tcp,udp } from $int_net to $int_if port { 67, 68, 123 } keep state and ntpdc shows me a prompt. Hope this helps. Dave. ----- Original Message ----- From: "Lowell Gilbert" <freebsd-questions-local@be-well.ilk.org> To: "Dave" <dmehler26@woh.rr.com> Cc: <freebsd-questions@freebsd.org> Sent: Monday, November 14, 2005 10:00 AM Subject: Re: ntp handling in 6.0 > "Dave" <dmehler26@woh.rr.com> writes: > >> Hello, >> Has ntp handling changed in 6.0-RELEASE? I've been through the >> handbook and /etc/defaults/rc.conf but haven't found the answer to >> this. I've got a machine acting as an ntp server for a network. When i >> run ntpdate -b <IP> from another machine i get the error "No servers >> suitable for synchronization found". Ntpd from these other boxes shows >> the same. From the local ntp server to the ntp servers on the internet >> works fine. >> The local ntp server's configuration is as follows: >> >> /etc/rc.conf >> ntpdate_enable="YES" >> ntpdate_flags="-b servername" >> ntpd_enable="YES" >> ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" >> >> ntp.conf >> server servername prefer >> server servername >> servername >> driftfile /etc/ntp.drift >> restrict 192.168.9.0 mask 255.255.255.0 notrust nomodify notrap >> >> and on client boxes: >> >> /etc/rc.conf >> ntpdate_enable="YES" >> ntpdate_flags="-b local ntp server IP" >> ntpd_enable="YES" >> ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" >> >> /etc/ntp.conf >> server local-ntp-server-ip prefer >> driftfile /etc/ntp.drift > > Is there an ntpd running? > Is there a firewall in the way? > What does ntpdc tell you?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c5e947$5c4c6ef0$0900a8c0>