Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################### Setting #########################
- http_access allow localhost
- http_port 8888 transparent
- visible_hostname hureeict.edu.mn
- ## Unlimited Access Users ##
- #acl BIGBOSS src 192.168.15.19
- #http_access allow BIGBOSS
- ## Time Settings ##
- acl biz_hours time MTWHF 09:00-17:00
- ## Websites/Download/Ports block ##
- acl website_block dstdom_regex facebook.com tetrisfriends.com apps.facebook.com
- http_access deny website_block biz_hours
- acl download_block urlpath_regex torrent
- http_access deny download_block biz_hours
- acl ports_block port 6969 6881-6899
- http_access deny ports_block biz_hours
- ## Access Subnets ##
- acl lan_15 src 192.168.3.0/24 192.168.4.0/24 192.168.5.0/24 192.168.6.0/24 192.168.7.0/24 192.168.8.0/24
- http_access allow lan_15
- # http_access allow lan_15 biz_hours
- # http_access deny all
- # http_access deny !Safe_ports
- ## Delay Pools - 100kb/s ##
- delay_pools 1
- delay_class 1 2
- #delay_parameters 1 100000/100000 100000/100000
- delay_parameters 1 -1/-1 84000/84000
- delay_access 1 allow lan_15 biz_hours
- #delay_access 1 allow lan_15
- #delay_access 1 deny lan_15 !biz_hours
- #delay_access 1 deny lan_15 all
- ## Cache 20GB ##
- cache_dir ufs /var/spool/squid 20000 16 256
- ################# END #####################
Advertisement
Add Comment
Please, Sign In to add comment