PERFORCE change 110950 for review
Paolo Pisati
piso at FreeBSD.org
Sun Dec 3 08:24:49 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=110950
Change 110950 by piso at 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
############
More information about the p4-projects
mailing list