Date: Sun, 3 Dec 2006 16:24:38 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110950 for review Message-ID: <200612031624.kB3GOcFE026091@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110950 Change 110950 by piso@piso_newluxor on 2006/12/03 16:24:06 Add support for ipfw's nat in rc.firewall. Affected files ... .. //depot/projects/soc2005/libalias/etc/rc.firewall#3 edit Differences ... ==== //depot/projects/soc2005/libalias/etc/rc.firewall#3 (text+ko) ==== @@ -129,6 +129,14 @@ fi ;; esac + case ${firewall_nat_enable} in + [Yy][Ee][Ss]) + if [ -n "${firewall_nat_interface}" ]; then + ${fwcmd} nat 666 config if ${firewall_nat_interface} log + ${fwcmd} add 50 nat 666 ip4 from any to any via ${firewall_nat_interface} + fi + ;; + esac esac ############
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612031624.kB3GOcFE026091>