View Single Post
Old 08-20-2005, 01:04 AM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

The default hosts.rules contains the following (I highlighted the related portions of it):

Code:
#       Default policy
#
#       POLICY  ACCEPT  CONNECTIONS_PER_IP
#       POLICY  DENY
#
#POLICY ACCEPT  2
## PLEASE REMOVE LINE BELOW
POLICY DENY

#   Classes
#
#   CLASS   CLASS_NAME  TOTAL_CONNECTIONS_PER_CLASS
CLASS   NORDIC  25
CLASS   ADMIN   -1

#       Rules
#
#       ACCEPT  I|H     IP|HOSTNAME     CLASS_NAME      CONNECTIONS_PER_IP
#       DENY    I|H     IP|HOSTNAME     LOG_STRING
#

ACCEPT  I 192.168.1.    ADMIN   -1
ACCEPT  I 127.0.0.      ADMIN   -1
ACCEPT  H .fi           NORDIC  2
ACCEPT  H .se           NORDIC  1
ACCEPT  H .no           NORDIC  1
DENY    I 192.168.      "Banned network address"
DENY    I 10.           "Banned network address"
DENY    H .tw           "Access from taiwan is prohibited"
The top portion labelled Default policy is the rule taken if there are no host/IP specific rules for the connecting client.

You're supposed to remove (or comment) the POLICY DENY rule and uncomment the one above it, POLICY ACCEPT 2.
neoxed is offline   Reply With Quote