Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 10:03:50 +0200
From:      Remko Lodder <remko@elvandar.org>
To:        "Marc \"UBM\" Bocklet" <ubm@u-boot-man.de>
Cc:        questions@freebsd.org
Subject:   Re: port redirection with pf
Message-ID:  <407CF066.80804@elvandar.org>
In-Reply-To: <20040414031512.58c59a08.ubm@u-boot-man.de>
References:  <20040414031512.58c59a08.ubm@u-boot-man.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> pf.conf:2: syntax error
> pfctl: Syntax error in config file: pf rules not loaded
> 

rdr on $nic proto tcp from any to $my_ext port $portext -> $int_host 
port $portint

Your rdr rule however seems ok. Try using my version and report back..
Note that he example is a real-working rule on my firewall (OpenBSD with 
pf).

cheers


-- 

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407CF066.80804>