From owner-freebsd-questions@FreeBSD.ORG Tue Jan 20 14:13:19 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75A4CDD7 for ; Tue, 20 Jan 2015 14:13:19 +0000 (UTC) Received: from archeo.suszko.eu (archeo.unixguru.pl [IPv6:2001:41d0:a:698b::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8723F5 for ; Tue, 20 Jan 2015 14:13:18 +0000 (UTC) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id B34D41AF166; Tue, 20 Jan 2015 15:13:11 +0100 (CET) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LBcXYPDkVoqt; Tue, 20 Jan 2015 15:13:11 +0100 (CET) Received: from helium (gate.grtech.pl [195.8.99.234]) by archeo.suszko.eu (Postfix) with ESMTPSA id 190431AF10F; Tue, 20 Jan 2015 15:13:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1421763191; bh=j1M5cX/Cr/kHpIn6uaYXDUkbFzLgqLY/vcGBhhoFwpY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Se7E5eIVk3XEt1AXm9T6wbXjJqk16i7KnYq4mcZ44N6cJr8rurBOprvIYW62k6K5i 5AkBHk3/fbUtnERrlBetRhHPh7ZkRw8FtW3EZ6jWmd8xbEns57wFzE5ij0fXZZ9XGP CCpftEfL6n4SiYocHxHr4K+HiKA59bSQa3bIAPwU= Date: Tue, 20 Jan 2015 15:13:08 +0100 From: Maciej Suszko To: Panagiotis Atmatzidis Subject: Re: A way to load PF rules at startup using OpenVPN Message-ID: <20150120151308.1dabff40@helium> In-Reply-To: <44269B05-51E7-4279-B828-1990DC73251F@convalesco.org> References: <20150120101144.735f0b67@helium> <20150120140631.377bee87@helium> <44269B05-51E7-4279-B828-1990DC73251F@convalesco.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Pj7fUBtbPqCmVYxWROPr7s1"; protocol="application/pgp-signature" Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 14:13:19 -0000 --Sig_/Pj7fUBtbPqCmVYxWROPr7s1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 20 Jan 2015 15:39:13 +0200 Panagiotis Atmatzidis wrote: [...] > Using =E2=80=98pfctl -nvf /etc/pf.conf=E2=80=99 without tun0 comes up wit= h the following error: >=20 > No IP address found for tun0 > /etc/pf.conf:86: could not parse host specification Interface tun0 is bringed up by openvpn, so you know your network before it's up. You can use some macro, vpn_net for example. --=20 regards, Maciej Suszko. --Sig_/Pj7fUBtbPqCmVYxWROPr7s1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlS+YnQACgkQCikUk0l7iGq7FwCfRYHZGvQxXR+xfkUf5Y9Lob+X RvAAoITNuEdOJTXMXrZgPk+WjrChLdm/ =xJT0 -----END PGP SIGNATURE----- --Sig_/Pj7fUBtbPqCmVYxWROPr7s1--