Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 14:57:39 -0600 (MDT)
From:      RJ45 <rj45@slacknet.com>
To:        freebsd-questions@freebsd.org
Cc:        mlaier@freebsd.org
Subject:   problems with PF
Message-ID:  <Pine.LNX.4.21.0407291453080.8760-100000@slacknet.slacknet.com>

next in thread | raw e-mail | index | archive | help

hello,
I configured PF for natting machines on my LAN
using FreeBSD as ADSL gateway.

I just write a simple rule
nat on tun0 from 172.16.16.0/24 to any -> (tun0)

but NAT does not work, packets are blocked.

ip forwarding is enabled

using ipfilter works and packets are natted succesfully with a simple rule
the same as before:

map tun0 172.16.16.0/24 -> tun0/32


I am using PF on OpenBSD since the first time it was released
so I Am sure it is not a problem of my configuration (After all more
than very simple)
using PF on FreeBSD I noticed simply packets are not NATted.
I have to say I am using it on sparc64 FreeBSD 5.2.1 on ultra 60.

anyone has some hints ?

maybe on i386 works who knows ?

thanks

Rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0407291453080.8760-100000>