68 Intel NetStructure Cache Appliance Administrator’s Guide
Examples
The following rule tells the appliance to block all requests from rec.*
groups with the exception of rec.soccer:
The following rule is an example of setting the port associated with the
hostname:
The following rule is an example of associating an interface and priority with
an IP address:
The following rules are examples of establishing priorities for the hostnames:
The following rules are examples of defining pull and pullover groups.
Note Every line designating a pull or pullover group must be preceded by a “cache
on demand” line as follows:
Deleting NNTP server rules
1Select the config menu, and press Enter.
2Select protocols, and press Enter.
3Select nntp, and press Enter.
4Select servers, and press Enter.
5Select delete, and press Enter. Doing so displays a list of rules. If no rules
exist, a message displays at the bottom of the screen indicating such.
6Use the arrow keys to select the rule you want to delete and press Enter.
7Press CTRL-X to save your change and return to the previous screen.
.block !rec.soccer,rec.*
news.webhost.com:999 *
news.webhost.com * 0 10.3.3.2
news.webhost.com * 0
news.backup.com * 1
comp.webhost.com *
comp.webhost.com comp.* feed
comp.webhost.com alt.*
comp.webhost.com alt.bicycles pull