Subject: ntp & ipf?
To: None <netbsd-help@netbsd.org, netbsd-users@netbsd.org>
From: Jan Danielsson <jan.danielsson@gmail.com>
List: netbsd-help
Date: 08/23/2005 23:53:13
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDA796CD0DC3EF3F57F60AEA4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hello all,
I'm trying to get ntp working through a firewall.
I have this:
# local interface flows freely
pass in quick on lo0 all
pass out quick on lo0 all
# Allow NTP
pass in quick proto udp from any to any port=ntp
pass out quick proto udp from any to any port=ntp
..in my ipf.conf. However, I can not verify that it works because
ntpq won't run properly:
# ntpq -n
ntpq> pe
ntpq: write to localhost failed: Permission denied
I even tried:
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on rtk0 all
pass out quick on rtk0 all
..to the top of my ipf.conf, and it still fails with the same
message. I guess it's something trivial that I have missed, but I can't
see it.
NetBSD 2.0.2/i386. ipfilter is blocking packets by default.
Thankful for any tips & pointers.
--
Kind Regards,
Jan Danielsson
Te audire no possum. Musa sapientum fixa est in aure.
--------------enigDA796CD0DC3EF3F57F60AEA4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFDC5rP8wBCTJQ8HEIRAvbaAKCKs5uLpEBIyzQ/ZPjJWFPK1hPiaACgxGt3
JwNknCgb5D3bA7lmHVnvNX4=
=6KM3
-----END PGP SIGNATURE-----
--------------enigDA796CD0DC3EF3F57F60AEA4--