Login   Register  
PHP Classes
elePHPant
Icontem

File: rules.table

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Temperini Mirko  >  Firewall  >  rules.table  >  Download  
File: rules.table
Role: Auxiliary data
Content type: text/plain
Description: the rules table
Class: Firewall
Accept or deny requests depending on IP address
Author: By
Last change:
Date: 2010-03-29 16:56
Size: 844 bytes
 

Contents

Class file image Download
##########################################
#
#   How to configure your virtual Firewall
#   To set Up a rule is very simple:
#
#
#   DENY ACCESS TO ALL ECCEPT THE IP 127.0.0.1:
#
#   deny 0.0.0.0 to 255.255.255.255
#   allow 127.0.0.1
#
#   DENY ACCES TO A SINGLE IP:
#   deny  12.34.56.78
#
#
#   DENY ACCESS TO A CERTAIN IP RANGE:
#   deny 12.34.56.78 to 98.76.54.32
#
#
#   ALLOW ACCESS ONLY A CERTAIN IP RANGE:
#   deny 0.0.0.0 to 255.255.255.255
#   allow 12.34.56.78 to 98.76.54.32
# 
#   ALLOW ACCESS ONLY A CERTAIN IP RANGE PLUS ANOTHER OUT OF RANGE IP:
#   deny 0.0.0.0 to 255.255.255.255
#   allow 12.34.56.78 to 98.76.54.32
#   allow 10.0.0.12   
#
#    use # for comment line (see example below)
#
##########################################

#uncomment for disable the localhost
#deny    127.0.0.1