I'd like to better organize my rules file for a couple of lines that
defines several IP addresses. I have something like this

ACCEPT net:
192.168.0.0/24,192.168.1.0/24,192.168.3.0/24,192.168.7.34,192.168.5.43,etc,etc$FW
tcp 3306

Anyway my problem is that I list about 20 ips and two ranges and it's a bit
cluttered. I was reading into using zones and hosts and I was thinking I
could do something like:

ZONE
myAsteriskComputers:net    ipv4

Host
myAsteriskComputers    net:(list all the ips here)

Rule
ACCEPT    myAsteriskComputers    $FW    tcp    3306


will that work?
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to