On Mon, Mar 1, 2010 at 11:09 PM, Luiz Gustavo <
luizgustavo@luizgustavo.pro.br> wrote:
> Hi guys..
>
> I'm having trouble configuring NAT on a FreeBSD 8.0-STABLE.
>
> where the active pf or ipfw (ipfw add nat ...) I get a message "FATAL
> TRAP" (url of the image below)
>
>
http://www.luizgustavo.pro.br/blog/wp-content/uploads/2010/03/nat_problem_8.png
>
> someone help me?
>
> i have one freebsd with specifications:
>
> [root@goldengate] ~# uname -a
> FreeBSD goldengate.world-unix.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun
> Feb 28 17:58:04 BRT 2010
> root@goldengate.world-unix.com:/usr/obj/usr/src/sys/WORLD-UNIX amd64
>
> [root@goldengate] ~# cat /usr/src/sys/amd64/conf/WORLD-UNIX
> include GENERIC
>
> ident SMP-WORLD_UNIX
>
> # To make an SMP kernel, the next line is needed
> options SMP # Symmetric MultiProcessor
> Kernel
>
> device pf
> device pflog
> device pfsync
>
> options DEVICE_POLLING
>
> device carp
>
> options ALTQ
>
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_CDNR
> options ALTQ_PRIQ
>
> options LIBALIAS
> options IPFIREWALL
> options IPFIREWALL_NAT
> options IPFIREWALL_FORWARD
> options IPFIREWALL_DEFAULT_TO_ACCEPT
>
> options DUMMYNET
> options HZ=1000
>
>
> # VIMAGE
> options VIMAGE
> nooptions SCTP
>
> thanks !
>
PF is not compatible with VIMAGE, also why are you putting 2 firewalls in
the kernel?
--
Adam Vande More