Create Date: Jun 21 2013 1:00PM
Hi,
I am trying to setup an acl permitting a bunch of open ports. I tried this but failed:
entry openports {
if {
protocol tcp ;
if match any {
destination-port 1094 - 1095;
destination-port 2811-2812,4823,6000-6999,8443,22128,50000-52000,56000-56999,60000-61000;
destination-port 4823;
destination-port 6000-6999;
destination-port 8443;
destination-port 22128;
destination-port 50000-52000;
destination-port 56000-56999;
destination-port 60000-61000;
}
} then {
permit ;
}
}
First of all, I could not find in the documentation any detailed explanation how if match all/any work, though they are present in examples. Google returned only http://dataplumber.wordpress.com/category/exos/. Anyone can provide some pointers please?
Secondly, other than specifying separate acl entries for every differet port/port range, is there another way to achieve this? Preferably an one line syntax where I can just put all my ports/port ranges.
Cheers, (from dzila)