Date: Fri, 8 Sep 2006 01:37:31 +0300 From: "Ivan Levchenko" <levchenko.i@gmail.com> To: "Ivan Levchenko" <levchenko.i@gmail.com>, "eculp@bafirst.com" <eculp@bafirst.com>, freebsd-pf@freebsd.org Subject: Re: pf fails to start Message-ID: <e39dd5bb0609071537t224480fcl3d52660d0f0d9c6e@mail.gmail.com> In-Reply-To: <20060907222649.D8409B828@shodan.nognu.de> References: <922498059.20060907160002@yandex.ru> <d5992baf0609070844i24006d7vc71d7e0a2bd80fa6@mail.gmail.com> <20060907143415.scknj7rgo40k8k0w@mail.bafirst.com> <e39dd5bb0609071506g1c7744e3l44bd092474d5ebfb@mail.gmail.com> <20060907222649.D8409B828@shodan.nognu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
ok, now it doesn't give me a syntax error. but it still gives errors:
no IP address found for tun0
/etc/pf.conf:35: could not parse host specification
no IP address found for tun0
/etc/pf.conf:47: could not parse host specification
no IP address found for tun0
/etc/pf.conf:60: could not parse host specification
pfctl: Syntax error in config file: pf rules not loaded
when i try to start up pf when the internet connection is down..
is there a way to get pf up without an ip address assinged to a interface?
On 9/8/06, Frank Steinborn <steinex@nognu.de> wrote:
> Ivan Levchenko wrote:
> > i was having the same problem so i tried this out and here is what i got:
> >
> > snip from pf.conf
> >
> > ext_if="tun0"
> >
> > nat on ($ext_if) from <allowed> to any -> ($ext_if) # this gives me an error
>
> That has to go in { }, like everything you list in pf.
>
--
Best Regards,
Ivan Levchenko
levchenko.i@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e39dd5bb0609071537t224480fcl3d52660d0f0d9c6e>
