From owner-freebsd-questions@FreeBSD.ORG Mon Apr 2 16:49:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4CC416A502 for ; Mon, 2 Apr 2007 16:49:05 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 3B77E13C4C4 for ; Mon, 2 Apr 2007 16:49:05 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l32Gn3UG044491; Mon, 2 Apr 2007 18:49:03 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 293A3B82A; Mon, 2 Apr 2007 18:49:03 +0200 (CEST) Date: Mon, 2 Apr 2007 18:49:03 +0200 From: Roland Smith To: Ivan =?utf-8?Q?Zenzerovi=C4=87?= Message-ID: <20070402164903.GA64536@slackbox.xs4all.nl> Mail-Followup-To: Ivan =?utf-8?Q?Zenzerovi=C4=87?= , freebsd-questions@freebsd.org 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <640eadd40704020611r48fbd4dfnaa5be3fd389b232d@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: New to FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 16:49:05 -0000 --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--