Pages

Showing posts with label Red Hat Squid. Show all posts
Showing posts with label Red Hat Squid. Show all posts

Some Tips for Squid Cashing Server

How to Run Squid on Red Hat, Fedora Suse, Ubuntu

Use this command for start the Squid Service on Start Up
1. chkconfig --level 35 squid on

How to Open rc.local
vi /etc/rc.local

Write This Command in rc.local File
2. service squid start

How to Start or Stop Squid Service
service squid start
service squid stop

How to Creat Swap Dir in Squid
squid -z

How to Configure Delay Pools or Bandwidth Control in Squid Server

How to Write Delay Pool Script in Squid
In this scenario we are going to creat 3 pools

128kbp
256kbps
Unlimited for Admin


Acl 128kbps 192.168.0.200/32
Acl 256kbps 192.168.0.201/32
Acl admin 192.168.0.205/32

You just creat the ACL Named net, net2, net3

delay_pools 3

delay_class 1 2
delay_access 1 deny admin
delay_access 1 deny 256kbps
delay_access 1 allow 128kbps
delay_parameters 1 -1/-1 16000/16000

delay_class 2 2
delay_access 2 deny admin
delay_access 2 allow 256kbps
delay_parameters 2 -1/-1 32000/32000

delay_class 3 2
delay_access 3 allow admin
delay_parameters 3 -1/-1 -1/-1

Enjoy the best delay pool setting by linuxmall if you have any further question about delay pool setting contact us we will appreciate you.
Thanks,
Linuxmall
Team

Forex Trading