diff --git a/docs/Introduction.xml b/docs/Introduction.xml index 9f08094f7..1ecd0316d 100644 --- a/docs/Introduction.xml +++ b/docs/Introduction.xml @@ -199,7 +199,21 @@ dmz eth2 detect a zone that contains a limited subset of the IPv4 address space, you use the /etc/shorewall/hosts - file. + file or you may use the nets= option in + /etc/shorewall/interfaces: + + #ZONE INTERFACE BROADCAST OPTIONS +net eth0 detect dhcp,routefilter,nets=(!192.168.0.0/23) +loc eth1 detect nets=(192.168.0.0/24) +dmz eth2 detect nets=(192.168.1.0/24) + + The above file defines the net zone as all IPv4 + hosts interfacing to the firewall through eth0 except + for 192.168.0.0/23, the loc zone as IPv4 hosts + 192.168.0.0/24 interfacing through eth1 and the dmz + as IPv4 hosts 192.168.1.0/24 interfacing through eth2 (Note that + 192.168.0.0/24 together with 192.168.1.0/24 constitutes + 192.168.0.0.23). Rules about what traffic to allow and what traffic to deny are expressed in terms of zones.