Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2015 15:39:13 +0200
From:      Panagiotis Atmatzidis <atma@convalesco.org>
To:        Maciej Suszko <maciej@suszko.eu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: A way to load PF rules at startup using OpenVPN
Message-ID:  <44269B05-51E7-4279-B828-1990DC73251F@convalesco.org>
In-Reply-To: <20150120140631.377bee87@helium>
References:  <F84CF488-7CF6-4580-B169-AA441166E2CB@convalesco.org> <20150120101144.735f0b67@helium> <CALfReyfuR-%2BOZ4H1RUuwMcvZEgcciwnisCC31vm4%2BNDaXFVu6g@mail.gmail.com> <F3202279-808B-4CBC-9F67-4CB89E9A59F9@convalesco.org> <20150120140631.377bee87@helium>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_EEADD4A2-9CDF-4A03-8A6A-7D855B5E24E9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

> On 20 Jan 2015, at 15:06, Maciej Suszko <maciej@suszko.eu> wrote:
>=20
> On Tue, 20 Jan 2015 14:18:28 +0200
> Panagiotis Atmatzidis <atma@convalesco.org> wrote:
>=20
> [=E2=80=A6]
>=20
> Post your pf.conf, pfctl -nvf /etc/pf.conf with tun0 present and
> absent, look at dmesg -a, messages etc.

Using =E2=80=98pfctl -nvf /etc/pf.conf=E2=80=99 without tun0 comes up =
with the following error:

No IP address found for tun0
/etc/pf.conf:86: could not parse host specification

Line is 86 is: =
https://gist.github.com/atmosx/2dcff31a0d8868d4b1c7#file-pf-conf-L83 =
<https://gist.github.com/atmosx/2dcff31a0d8868d4b1c7#file-pf-conf-L86>;

But how do I bypass this using pf.conf alone? The .conf needs to become =
=E2=80=98dynamic=E2=80=99 somehow.

>=20
> Just my 2 cents...
> --
> regards, Maciej Suszko.



Panagiotis (atmosx) Atmatzidis

email:	atma@convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5

"As you set out for Ithaca, hope the voyage is a long one, full of =
adventure, full of discovery [...]" - C. P. Cavafy





--Apple-Mail=_EEADD4A2-9CDF-4A03-8A6A-7D855B5E24E9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: Public Key Encryption

iQIcBAEBAgAGBQJUvlqFAAoJEPy01a8ae/7FexAP/2B73+TSdkwMHsKdGp7Efn1G
p0zzn5wWsQWFU0hCjp/hvp0p/3LyYu8ud1wSIivgLzxJyYjZ0RdTE2u9gOF76uzD
fZQ9E52diTziOmksCVkwdHx6IiYPwh7icmnfkrhJuose8CrJeaF2HGXv7a/epe3I
H2QZYnuvE/L3ld7EBgf/iiQV2ZW3hdNUCU8qbmU0E9mA54rHSFrxiICIEd2d3yLM
8K26py/zWLJhZoOCVvPMLK+XLB+yjKktRQcQX6NCsQ68S28e+rDPRrC3Aixush8N
1iZ/mlXCwqEhbpQzHdYCXFQdF5ewXcSpjEFdCp9j+Hq/q95IBLPJW7GISO2EhEmh
HWiDWi/8Drl+1iaxwu3p8LmsqPeE+JhYfZc6zR8aRnTm0oGVlpcRs1L/ehVUn+t/
VqDi0X+OT3/y6nyakH0bwU6DFfIqxp3rUntODDxqaVuhSDgsWKXyfUimUzmE89U8
05U6cDN5CSFUOMedMXw2CyU7SW8qhdNES7AP3Rc5qdn+ksXHAhuL0RiN6lIb2IAe
ro+I5PSWIj5GX+nVAKnSmMlw9opjsF6GK0P9ra2jL7rKtACuB/ia0Rofy8SJsGuR
f2liGMCvzYGhHlVUvUy6kqStHjklDhvm/DL+pB+CUI9C+tWZmYUs/NzppionMsP7
fHXdSgxXl4YOSJRHF6vq
=GOCw
-----END PGP SIGNATURE-----

--Apple-Mail=_EEADD4A2-9CDF-4A03-8A6A-7D855B5E24E9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44269B05-51E7-4279-B828-1990DC73251F>