A way to load PF rules at startup using OpenVPN

Maciej Suszko maciej at suszko.eu
Tue Jan 20 14:13:19 UTC 2015


On Tue, 20 Jan 2015 15:39:13 +0200
Panagiotis Atmatzidis <atma at convalesco.org> wrote:

[...]

> Using ‘pfctl -nvf /etc/pf.conf’ without tun0 comes up with the following error:
> 
> 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.
-- 
regards, Maciej Suszko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150120/afbe20d4/attachment.sig>


More information about the freebsd-questions mailing list