Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 00:23:14 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Luiz Gustavo <luizgustavo@luizgustavo.pro.br>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Fatal Trap with NAT and 8.0-STABLE
Message-ID:  <6201873e1003012223sf9b5fbcy5bb386e9ec70d43d@mail.gmail.com>
In-Reply-To: <1267506546.24834.15.camel@local>
References:  <1267506546.24834.15.camel@local>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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