Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 2004 18:31:27 -0300
From:      =?ISO-8859-1?Q?M=E1rcio_Luciano_Donada?= <marcio@lists.slchapeco.org>
To:        freebsd-ipfw@freebsd.org
Subject:   NATD x IPFW2
Message-ID:  <413A342F.2000701@lists.slchapeco.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.
I am user FreeBSD 4.9-RELEASE-p11. Problems in options punch_fw of natd
how much I use the IPFW2, natd.con with this optons is not executed in
the boot system operation. My rc.conf is:
firewall_enable="YES"
firewall_script="/etc/firewall/firewall.conf"
firewall_type="OPEN"
firewall_quiet="NO"
firewall_logging="YES"
natd_enable="YES"
natd_flags="-l -f /etc/firewall/natd.conf"

In the kernel:
options         IPDIVERT
options         IPFW2
options         IPFIREWALL
options         IPFIREWALL_VERBOSE_LIMIT=200
options         IPFIREWALL_FORWARD
options         INCLUDE_CONFIG_FILE
options         IPFIREWALL_VERBOSE
options         DUMMYNET

options divert in firewall.conf:
${fwcmd} add divert natd all from ${rede_ap101} to any out xmit
${interface_tun}
${fwcmd} add divert natd all from any to ${ip_tun} in recv ${interface_tun}

Tank-you
OBS: Soory my ingles!

[]'s
Márcio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBOjQudiUaDDnLZAcRAuziAJkBwOERoz1wS1+s9rjwbVD+QUYpQACePYG3
/sOqiozabCv7moGIwC9UeTU=
=XiYA
-----END PGP SIGNATURE-----


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