The following file implements the configuration described for the Paris server in "Configuration Planning Example". Note that two filters, imap and smtp, have been used to define the class email.
# Sample configuration file for Paris site version 1.5 timeout 30 #Subnet Group definitions subnet_group bonn address 129.xxx.xxx, 129.xxx.yyy mask 225.225.225.0 subnet_group paris address 129.yyy.xxx, 129.yyy.yyy, 129.yyy.zzz mask 225.225.225.0 subnet_group london address 129.zzz.xxx, 129.zzz.yyy mask 225.225.225.0 #Filter definitions filter http_to_london local type subnet_group name paris remote type subnet_group name london service http filter telnet service telnet filter imap service imap filter http_to_bonn local type subnet_group name paris remote type subnet_group name bonn service http filter snmp service snmp filter http service http filter ftp service ftp filter smtp service smtp #Interface defintions for qe0_out interface qe0_out rate 128000 activate enabled #Class definitions for interface qe0_out class ftp interface qe0_out parent root filter ftp bandwidth 15 priority 7 max_bandwidth 15 class email interface qe0_out parent root filter imap, smtp bandwidth 20 priority 7 max_bandwidth 20 class snmp interface qe0_out parent root filter telnet bandwidth 5 priority 1 max_bandwidth 5 class telnet interface qe0_out parent root filter telnet bandwidth 30 priority 1 max_bandwidth 30 class http interface qe0_out parent root filter http bandwidth 20 priority 5 max_bandwidth 20 class http_bonn interface qe0_out parent http filter http_to_bonn bandwidth 5 priority 3 max_bandwidth 5 class http_london interface qe0_out parent http filter http_to_london bandwidth 10 priority 3 max_bandwidth 10 class default interface qe0_out bandwidth 0 priority 7 max_bandwidth 0 #Interface definition for qe0_in interface qe0_in rate 0 activate enabled #Class definition for interface qe0_in class default interface qe0_in bandwidth 0 priority 7 max_bandwidth 0 |