From fc0158617ac89492755a8d161ab043d57a46659b Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 24 Dec 2008 16:10:46 +0000 Subject: [PATCH] Show how to make a dynamic zone a sub-zone git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9165 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/ipsets.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ipsets.xml b/docs/ipsets.xml index 728ccd0f8..51b013356 100644 --- a/docs/ipsets.xml +++ b/docs/ipsets.xml @@ -271,18 +271,20 @@ ipset -B Blacklist 206.124.146.177 -b SMTP The use of ipsets provides a much better way to define dynamic zones than is provided by the native Shorewall implementation. To define a - dynamic zone of hosts dyn that interface + dynamic zone of hosts dyn that is a + sub-zone of zone loc and that interfaces through interface eth3, use: /etc/shorewall/zones: #ZONE TYPE OPTIONS IN OPTIONS OUT OPTIONS -dyn ipv4 +loc ipv4 +dyn:loc ipv4 /etc/shorewall/interfaces: #ZONE INTERFACE OPTIONS -- eth3 … +loc eth3 … /etc/shorewall/hosts: