| Home | Documentation | Download | Blacklists | Useful stuff | 
|---|---|---|---|---|
| Installation | Basic Configuration | Extended Configuration | Known Issues | 
| Not allowing IP adresses | Times | 
| Rules based on source IP adresses | Logging blocked access tries | 
| Disallowing access to IP addresses | 
|  acl {
        default {
                pass !in-addr all
                redirect http://localhost/block.html
        }
 }
 | 
| Defining access times | 
| 
time afterwork {
  weekly   * 17:00-24:00            # After work
  weekly   fridays 16:00-17:00      # On friday we close earlier
  weekly   saturdays sundays        # Weekend
  date   *.01.01                    # New Year's Day
  date   *.12.24 12:00-24:00        # Christmas Eve
  date   2006.04.14-2006.04.17      # Easter 2006
  date   2006.05.01                 # Maifeiertag
}
 | 
| acl {
	all within afterwork {
		pass all
	}
	else {
		pass	!adv !porn !warez all
	}
	default {
       		pass	none
       		redirect http://localhost/block.html
        	}
}
 | 
| Defining source IP addresses | 
| src admins {
	ip	192.168.2.0-192.168.2.255
	ip	172.16.12.0/255.255.255.0
	ip	10.5.3.1/28
}
 | 
| src admins {
        iplist      adminlist
}
 | 
| 192.168.2.0-192.168.2.255 172.16.12.0/255.255.255.0 10.5.3.1/28 | 
| Logging blocked access tries | 
| dest porn {
	domainlist porn/domains
	urllist porn/urls
	log pornaccesses
}
 |