[Zrouter-src] ZRouter.org: push to ZRouter profiles/ipfw/files/etc/rc.d/ipfw p...
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Mon Feb 6 12:53:53 UTC 2012
details: http://zrouter.org/hg/zrouter//rev/fc355a1b98be
changeset: 347:fc355a1b98be
user: ray at terran.dlink.ua
date: Mon Feb 06 14:43:04 2012 +0200
description:
Add ipfw profile. It make possible to select firewalling profile.
For example pf instead of ipfw.
Submitted by: Maciej Milewski
diffstat:
profiles/ipfw/files/etc/rc.d/ipfw | 6 ++++++
profiles/ipfw/profile.mk | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 0e06b112d280 -r fc355a1b98be profiles/ipfw/files/etc/rc.d/ipfw
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/ipfw/files/etc/rc.d/ipfw Mon Feb 06 14:43:04 2012 +0200
@@ -0,0 +1,6 @@
+# BEFORE: MAIN
+# PROVIDE: IPFW
+
+kldload ipfw
+ipfw add 65000 allow all from any to any
+
diff -r 0e06b112d280 -r fc355a1b98be profiles/ipfw/profile.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/ipfw/profile.mk Mon Feb 06 14:43:04 2012 +0200
@@ -0,0 +1,4 @@
+WORLD_SUBDIRS_SBIN+= ipfw
+
+KERNCONF_MODULES_OVERRIDE+= ipfw dummynet
+
More information about the Zrouter-src
mailing list