Use a "no nat" rule _before_ your "nat" rule.

On 2008-11-19, Ricardo Augusto de Souza <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I AM getting some erros to apply this rule in my PF.
>
>
>
> I am running OpenBSD 4.3.
>
>
>
> winupdate = "{ 65.54.87.0/24 ,  207.46.112.0/24 } "
>
> nat on $ext_if from $lan to   ! $winupdate port $portas_saida_tcp tag
> INT_10.10.10.0 -> ($ext_if)
>
> block inon $wan_uf from $winupdate to any
>
> block out on $wan_if from any to $winupdate
>
>
>
>
>
> I am getting error on nat on $ext_if from $lan to   ! $winupdate port
> $portas_saida_tcp tag INT_10.10.10.0 -> ($ext_if)
>
>
>
>
>
> I wanna NAT to ALL addresses different than 65.54.87.0/24 ,
> 207.46.112.0/24. What is the syntax to do that?
>
>
> Thanks

Reply via email to