Reuse firewall rules on custom zones
The same set of firewall rules must be applied to different connections between zones. By default, we have
loc (green/eth0) and
net (red/eth1) zones with two different set of rules (i.e.
access=public/private) for the traffic directed to the firewall zone.
After VPNs are installed also the
lvpn (ppp+) zone is defined and the public or private rule set must be applied to the traffic from
lvpn to the firewall.
See also shorewall-policy about how to call actions and macros.
#5 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from TRIAGED to CLOSED
- % Done changed from 20 to 100
- Resolution set to WORKSFORME
The template system should offer enough expressiveness to write rules for multiple zones (including VPN).
Re-open the issue if a more practical example shouldn't be achieved without using macros.