[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/pf.conf:37:could not parse host specification



On Fri, Nov 05, 2004 at 06:26:14PM +0100, Vincent Immler wrote:
> Hi folks!
> Just another problem:
> 
> boot process:
> ....
> net.inetip.forwarding:0->1
> starting network
> working in ddial mode
> using interface: tun0
> no IP adress found for tun0
> /etc/pf.conf:37:could not parse host specification
> pfctl:syntax error in config file: pfrules not loaded
> starting system logger
> starting ....

<snip>

> line 37 is this:
> nat on $Ext from $IntNet to any -> $Ext static-port

it means that tun0 doesn't have an IP address at the time that you're
loading the PF rules.  try:

  nat on $Ext from $IntNet to any -> ($Ext) static-port

-j

--
"I have been shot eight times this year, and as a result, I almost
 missed work."
        --The Simpsons



Visit your host, monkey.org