Example of the ICAP Client Configuration File
This is an example configuration file $FWDIR/conf/icap_client_blade_configuration.C:
Clarification about the rules in the example above:
-
[
:network_filter_rules_ip4 ()] OR [:network_filter_rules_ip6 ()] -
In the "
:network_filter_rules_ip4 ()":[
:src_ip_ranges ()] AND [:dst_ip_ranges ()]-
All traffic that arrives from IPv4 (10.0.0.6 OR 10.0.0.7 ... OR 10.0.0.10)
AND destined to IPv4 (10.1.0.1 OR 10.1.0.2 ... OR 10.1.255.255)
-
Rule
All traffic that arrives from IPv4 (10.0.0.100 OR 10.0.0.101 ... OR 10.0.0.150)
AND destined to IPv4 (10.1.0.1 OR 10.1.0.2 ... OR 10.1.255.255)
-
Rule
All traffic that arrives from IPv4 (10.0.0.21 OR 10.0.0.22 ... OR 10.0.0.24)
AND destined to any IPv4 address
-
-
In the "
:network_filter_rules_ip6 ()":[
:src_ip_ranges ()] AND [:dst_ip_ranges ()]-
Rule
All traffic that arrives from IPv6 (2001:db8:5:f101::11 OR 2001:db8:5:f101::12 ... OR 2001:db8:5:f101::15)
AND destined to IPv6 (2001:db8:6:f101::1 OR 2001:db8:6:f101::2 ... OR 2001:db8:6:f101::20)
-