NATD x IPFW2
Márcio Luciano Donada
marcio at lists.slchapeco.org
Sat Sep 4 14:31:24 PDT 2004
-----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-----
More information about the freebsd-ipfw
mailing list