ผม config /etc/squid/squid.conf ดังนี้ครับ
acl limit_list url_regex -i \.exe$ \.mp3$ \.iso$ \.zip$ \.rar$ \.mp4$ \.3gp$ \.dat$ \.swf$ \.avi$ \.mov$ \.wav$ \.flv$ \.wmv$ \.wma$ \.avi$ \.mpeg$ \.mpe$ \.mpg$ \.ram$ \.rm$ \.rmvb$
acl no_limit_ip src 10.1.3.101
http_access allow limit_list
delay_pools 2
delay_class 1 1
delay_access 1 allow limit_list !no_limit_ip
delay_parameters 1 5000/5000
delay_class 2 1
delay_access 2 allow limit_list no_limit_ip
delay_parameters 2 50000/50000
โดยศึกษาจากกระทู้นี้ http://www.opentle.org/th/node/7671 และก็ Google ครับ
ที่ผมสงสัยคือ
ผมลองเป็น ip ที่ไม่ใช่ 10.1.3.101 ครับตอนดาวโหลดมันก็ได้ประมาณ 2-5 kb นี่ปกติไหมครับ ไม่เห็นมันจะได้ 5 k พอดีเลยครับ
เหมือนแกว่งครับ
แล้วผมลองเปลี่ยน ip เป็น 10.1.3.101 คราวนี้โหลดได้ 50 k แล้วก็ลดลงมาเหลือ 20 กว่า K
ไม่รู้ว่าที่ Config ไปถูกหรือป่าวครับ
- แสดงความคิดเห็น
- อ่าน 248 ครั้ง
- not spam ()



Posts: 36
Joined: 29-12-2006