diff --git a/docs/NewBridge.xml b/docs/NewBridge.xml index 843d1cde5..c52f6ea92 100644 --- a/docs/NewBridge.xml +++ b/docs/NewBridge.xml @@ -504,8 +504,8 @@ net ipv4 loc:net ipv4 #LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE - Note that the loc zone is defined to be a sub-zone of the net - zone. + Note that the loc zone is defined + to be a sub-zone of the net zone. A conventional two-zone policy file is appropriate here — /etc/shorewall/policy: @@ -524,7 +524,7 @@ all all REJECT info net br0 192.168.1.255 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE - The loc zone is defined using the + The loc zone is defined using the /etc/shorewall/hosts file. Assuming that the router is connected to eth0 and the switch to eth1: @@ -533,6 +533,13 @@ net br0 192.168.1.255 loc br0:192.168.1.0/24!192.168.1.10/31,192.168.1.254 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS LINE -- DO NOT REMOVE + + 192.168.1.10/31 consists of the two local systems outside the + firewall; namely, 192.168.1.10 and 192.168.1.11. Those systems must be + excluded from the loc zone as must the + router (192.168.1.254). + + When Shorewall is stopped, you want to allow only local traffic through the bridge — /etc/shorewall/routestopped: