Date: Mon, 2 Apr 2007 18:49:03 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Ivan =?utf-8?Q?Zenzerovi=C4=87?= <zenzof1@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: New to FreeBSD Message-ID: <20070402164903.GA64536@slackbox.xs4all.nl> In-Reply-To: <640eadd40704020611r48fbd4dfnaa5be3fd389b232d@mail.gmail.com> References: <640eadd40703280708s449a6667hc89c82626def4d74@mail.gmail.com> <20070328145337.GB49540@gizmo.acns.msu.edu> <640eadd40703281043v35ae98daib3a34c44441abf49@mail.gmail.com> <20070328183003.GA23052@kobe.laptop> <640eadd40703292309m7408bf7di5ddc8a91a18e5ab0@mail.gmail.com> <20070330160211.GD59175@gizmo.acns.msu.edu> <20070330161651.GA97032@slackbox.xs4all.nl> <640eadd40703301021r5cc4006ds4e860f2c5041d34a@mail.gmail.com> <20070330175841.GA3161@slackbox.xs4all.nl> <640eadd40704020611r48fbd4dfnaa5be3fd389b232d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 02, 2007 at 03:11:01PM +0200, Ivan Zenzerovi=C4=87 wrote: > I have a problem with my firewall. When booting freebsd i get the message > that pf is enabling, but there are syntax errors in the /etc/pf.conf file > and that no IP adresses were found for sk0 network. What should i change > here? > I took the conf file from > http://www.xs4all.nl/~rsmith/freebsd/index.html#sec Take a look at the macros that define the external and internal networks. They are called "ext_if" and "int_if". If you don't have an internal network, remove all lines that have "localnet" or "int_if" in them. Make sure that the "ext_if" macro matches your network interface. Look at the output of the "ifconfig" command, and disregard lo0, pflog0 and plip0. You're looking for the network device that has a "status: active" line in the ifconfig output. Do not change the order of the lines in the file! pf expects them to be in a certain order. See 'man pf.conf'. If that still doesn't work, let me know and I'll send you a cleaned-up copy off the list. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGETP/EnfvsMMhpyURAvpkAJ9Zyzcj8QxhBm2QBImLD5QjABQMlgCgglYO PLyTw6QxMZJRkjhZqrUx6l4= =G0i2 -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070402164903.GA64536>