From bb0d0f54f64f13ddb09c11f64c2d611f2a13648b Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 31 May 2006 14:13:39 +0000 Subject: [PATCH] Document /usr/share/shorewall/configfiles/ git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3967 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/CompiledPrograms.xml | 56 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/docs/CompiledPrograms.xml b/docs/CompiledPrograms.xml index d4aedcae5..cd33066bf 100644 --- a/docs/CompiledPrograms.xml +++ b/docs/CompiledPrograms.xml @@ -15,7 +15,7 @@ - 2006-03-29 + 2006-05-31 2006 @@ -187,6 +187,60 @@ +
+ /usr/share/shorewall/configfiles + + The /usr/share/shorewall/configfiles directory + contains a copy of the Shorewall configuration files that are normally + installed in /etc/shorewall. + + Suppose that you want to create a configuration directory for remote + system 'gateway'. + + + + mkdir gateway + + + + cp /usr/share/shorewall/configfiles/* + gateway + + + + Generate a capabilities file on the remote + system as described in the next section and copy that file to the + gateway directory. + + + + Modify the files in the gateway directory to match the + configuration on 'gateway'. + + + + cd gateway + + + + /sbin/shorewall compile -e . firewall + + + + Copy the firewall file to /etc/init.d on system 'gateway' and + arrange for it to be started at boot time. + + + + On the 'gateway' system, /etc/init.d/firewall + start + + +
+
The /etc/shorewall/capabilities file and the shorecap program