เปิดรับสมัครสมาชิก webboard ตามปกติแล้วครับ

ผู้เขียน หัวข้อ: (โปรแกรมแก้ไขเนตไทยโคตรช้า!! 2) Setup หลังติดเบาะ Edtion หรือ Squid NT.2.  (อ่าน 147520 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

เสริม

  • บุคคลทั่วไป
อยากทราบวิธีลง Squid ทั้ง Server และ ตัวลูกไหมครับ
« ตอบกลับ #400 เมื่อ: มิถุนายน 18, 2007, 02:25:53 am »
มีวิธีที่ทำให้ตัวลูกลง Squid แล้วดึงข้อมูลเน็ทจากตัว Server ได้ไหมครับ
เช่น สมมุติว่าผมมี Server แบบใช้การ์ดแลน 2 ใบ ที่ลง Squid แล้วจะสามารถลง Squid ที่ตัวลูกเพื่อดึงเน็ทจากตัวแม่แล้วไปเก็บที่ตัวลูกได้ไหมครับ

13esgame

  • บุคคลทั่วไป
ช่วยทีครับ ผมใช้  router  ip: 192.168.1.1
เครื่อง server ที่ลง โปรแกรม Squid > 192.168.1.2  ++++++  ใน lan setting เครื่องที่ลง squid ใส่ 127.0.0.1  port 8080

แต่เครื่องลูก พอลง ตามนี้แล้ว ใช้เน็ตไม่ได้อ่ะครับ > 192.168.1.3 - 192.168.1.13  IP +++++++ ใน lan setting ให้ใส่ ip เครื่องที่ลง squid คือ 192.168.1.2  port 8080   
แต่ถ้าเครื่องลูก ไม่ใส่ ไรเลยเล่นได้  ผมผิดตรงไหน ช่วยแนะนำทีครับ


boon

  • บุคคลทั่วไป
ต้องลองซะแล้ว

keitaro

  • บุคคลทั่วไป
ขอบคุณมากครับ สำหรับโปรแกรมนี้และคนแนะนำ ผมไม่อยากจะเชื่อว่าโปรแกรมเร่งสปีดเนตจะมีอยู่จริง ลองลงแล้วโห สุดยอดครับ ทันตาเห็นเลย
แล้วตอนที่ผมลง (ไม่แน่ใจว่าจะมีคนลงเหมือนผมหรือเปล่านะ) ตอนแรกผมก็ไม่ค่อยมั่นใจ จะแรงจริงเปล่าว้า เอ้า ลองดู เท่านั้นแหละครับ ผมลง
ตอนโหลตไฟล์จากเว็บอยู่ พอลงโปรแกรมเสร็จ โอ้โห ความเร็วในการดึงข้อมูลเร็วกว่าเดิมอีกครับ งงเลย สาธุ อยากเจอตัวจริงคนแนะนำโปรแกรมนี้จริงๆ จะกราบงามๆสักครั้ง ดีใจสุดชีวิต ขอให้แนะนำสิ่งดีๆแบบนี้ตลอดไปนะครับ เย้ โหลตแหลก ๆ  :)

ออฟไลน์ OSComputer

  • สยามคาเฟ่ TeamWork!
  • ****
  • กระทู้: 173
  • Reputation: 0
ช่วยทีครับ ผมใช้  router  ip: 192.168.1.1
เครื่อง server ที่ลง โปรแกรม Squid > 192.168.1.2  ++++++  ใน lan setting เครื่องที่ลง squid ใส่ 127.0.0.1  port 8080

แต่เครื่องลูก พอลง ตามนี้แล้ว ใช้เน็ตไม่ได้อ่ะครับ > 192.168.1.3 - 192.168.1.13  IP +++++++ ใน lan setting ให้ใส่ ip เครื่องที่ลง squid คือ 192.168.1.2  port 8080   
แต่ถ้าเครื่องลูก ไม่ใส่ ไรเลยเล่นได้  ผมผิดตรงไหน ช่วยแนะ
...
แก้ไข config ในส่วนของ acl localnet src ..... ครับ ในอยู่ในวงแลนเดียวกับท่านครับ
โดยแก้ดังนี้น่ะ   
acl localnet src 192.168.1.0/255.255.255.0

...
acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.0.0/255.255.255.0  <<< ท่าเครื่องใช้ไอพีคราส 192.168.0.1 ก็ให้ใช้ค่านี้ถ้าใครใช้ค่าอื่นนอกเหนือจากนี้ให้เปลี่ยนด้วย (รูปแบบ 192.168.1.0)
acl localhost src 127.0.0.1/255.255.255.255
Signature cleanned by Admin

kornnaphar

  • บุคคลทั่วไป
คุณ jasda2003 ใช้กับ Internet IE7 ได้ป่ะค่ะ เคยใช้กับ IE6 ไม่มีปัญหา พอมาใช้ IE7 เหมือนเวลาโหลดเกมส์ มันช้ามาก เดิมเคยโหลดออดิชั่นวิ่งเป็น 100 แต่พอมาลง IE7 วิ่งแค่ 35-32 งง มาก เลยลบทิ้งแล้วลงใหม่ รบกวนช่วยดูให้ทีว่าตั้ง config ถูกหรือเปล่าค่ะ แล้วก็Lansettingค่ะ ต้องติ๊กเครื่องหมายถูกหรือเปล่าค่ะ
ตัวอย่างconfigค่ะ
cp_port 0
http_port 3128
http_port 800
http_port 8080


hierarchy_stoplist cgi-bin ? .acgi .asp .cgi .css .chtml .htm .html .jhtml .js .jsp .perl .phtml .pl .php .php3

.php4 .shtml .xhtml .xml
acl QUERY urlpath_regex cgi-bin \? \.acgi \.asp \.cgi \.css \.chtml \.htm \.html \.jhtml \.js \.jsp \.perl

\.phtml \.pl \.php \.php3 \.php4 \.shtml \.xhtml \.xml
cache deny QUERY



cache_peer proxy.asianet.co.th parent 8080 0 no-query
cache_peer 203.144.143.6 sibling 8080 0 no-query
cache_peer proxy.infonews.co.th parent 8080 0 no-query   
cache_peer proxy.wnet.net.th parent 8080 0 no-query   
cache_peer proxy.sgn.net.th parent 8080 0 no-query   
cache_peer proxy.linethai.co.th parent 8080 0 no-query   
cache_peer proxy.asiaaccess.net.th parent 8080 0 no-query   
cache_peer proxy.cwn.net.th parent 8080 0 no-query   
cache_peer proxy.asianet.co.th parent 8080 0 no-query   
cache_peer proxy.loxinfo.co.th parent 8080 0 no-query   
cache_peer proxy.samart.co.th parent 8080 0 no-query   
cache_peer proxy.pacific.net.th parent 8080 0 no-query   
cache_peer proxy.roynet.co.th parent 8080 0 no-query   
cache_peer proxy.siamit.co.th parent 8080 0 no-query   
cache_peer netproxy1.inet.co.th parent 8080 0 no-query   
cache_peer proxy.idn.co.th parent 8080 0 no-query   
cache_peer proxy.anet.net.th parent 8080 0 no-query   
cache_peer proxy.ji-net.com parent 8080 0 no-query   
cache_peer proxy.sga.net.th parent 8080 0 no-query
cache_peer proxy.cscoms.com parent 8080 0 no-query   
cache_peer proxy.ksc.net.th parent 8080 0 no-query   

#peer_connect_timeout 5 seconds


cache_mem 128 MB
#maximum_object_size_in_memory 24 Kb
#half_closed_clients off
minimum_object_size 0 KB
maximum_object_size 25600 KB
#cache_swap_high 98%
#cache_swap_low 95%


memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF


cache_dir aufs e:/squid/cache/cache1 512 24 256



access_log none
cache_log none
cache_store_log none

mime_table c:/squid/etc/mime.conf


log_mime_hdrs off

cache_effective_user squid
cache_effective_group squid


refresh_pattern -i .(zip|gz|xfs|exe|arj|npz|lha|lzh|rar|tgz|tar|rar|jar|nup|wz|Z)$ 525960 99% 525960

override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(class|pdf|rtf|doc|wp|wp5|ps|prn)$ 525960 99% 525960 override-lastmod override-

expire reload-into-ims ignore-reload
refresh_pattern -i .(mov|avi|mpg|wav|au|mid|mp3)$ 525960 95% 525960 override-lastmod override-

expire reload-into-ims ignore-reload
refresh_pattern -i .(jpg|gif|jpeg|png|css|js)$ 525960 18000% 525960 override-lastmod override-expire

reload-into-ims ignore-reload
refresh_pattern -i .(bmp|tif|tiff|xbm)$ 525960 17000% 525960 override-lastmod override-expire reload-

into-ims ignore-reload
refresh_pattern -i .(swf)$ 525960 20000% 525960 override-lastmod override-expire reload-into-ims

ignore-reload
refresh_pattern ^ftp: 4320 20% 43200
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 1440 50% 14400
pid_filename none

refresh_pattern -i \.art$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.crw$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.djvu$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ttf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.fpx$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.icn$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ico$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.icl$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.kdc$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mag$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.sif$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.aifc$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.aiff$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.asf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.au$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.avi$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.m1v$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mid$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.midi$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mp2$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mp2v$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mp3$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mpa$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mpe$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mpeg$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mpg$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mpv2$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.rmi$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.snd$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.wav$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.wma$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.wmv$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.sid$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pcd$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pic$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pict$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pix$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pbm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pgm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ppm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.eps$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.psp$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.xbm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.xpm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.bmp$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.jpeg$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pcx$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.png$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.tga$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.tiff$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.gif$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.wmf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.emf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pic$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.iff$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.psd$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ras$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.rs$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.sgi$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.swf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pdf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.exe$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.zip$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.rar$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mov$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.cda$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mp1$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.aac$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.nsa$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ogg$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.kar$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.miz$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mod$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mdz$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.nst$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.stm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.stz$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.s3m$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.s3z$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.it$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.itz$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.xm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.xmz$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.mtm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ult$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.669$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.far$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.amf$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.okt$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.ptm$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.voc$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.aif$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.m2v$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.nsv$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.m3u$ 525960 80% 525960 reload-into-ims
refresh_pattern -i \.pls$ 525960 80% 525960 reload-into-ims
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

refresh_pattern -i ^http://www.siamcafe.net 1204 0% 360
refresh_pattern -i ^http://www.ji-net.com 1204 0% 360
refresh_pattern -i ^http://www.pantip.com 1204 0% 300
refresh_pattern -i ^http://www.sansuk.com 1204 0% 360
refresh_pattern -i ^http://www.hunsa.com 1204 0% 360
refresh_pattern -i ^http://www.google.com 1204 0% 360
refresh_pattern -i ^http://www.hotmail.com 1204 0% 360
refresh_pattern -i ^http://www.yahoo.com 1204 0% 360
refresh_pattern -i ^http://www.icq.com 1204 0% 360
refresh_pattern -i ^http://www.chaiyo.com 1204 0% 360
refresh_pattern -i ^http://www.download.com 1204 0% 360
refresh_pattern -i ^http://www.thaiware.com 1204 0% 360
refresh_pattern -i ^http://www.redhat.com 1204 0% 360
refresh_pattern -i ^http://www.freebsd.com 1204 0% 360
refresh_pattern -i ^http://login.passport.net/uilogin.srf?id=2 1204 0% 360
refresh_pattern -i ^http://www.mthai.com 1204 0% 360
refresh_pattern -i ^http://www.kapook.com 1204 0% 360
refresh_pattern -i ^http://www.thainetcafe.com 1204 0% 360
refresh_pattern -i ^http://www.sanook.com 1204 0% 360
refresh_pattern -i ^http://www.hunsa.com 1204 0% 360
refresh_pattern -i ^http://www.hotmail.com 1204 0% 360
refresh_pattern -i ^http://www.nanaidea.com 1204 0% 360
refresh_pattern -i ^http://www.ragnarok.in.th 1204 0% 360
refresh_pattern -i ^http://mail.yahoo.com 1204 0% 360
refresh_pattern -i ^http://mail.yahoo.com/?.intl=us 1204 0% 360
refresh_pattern -i ^http://www.overclockzone.com 1204 0% 360
refresh_pattern -i ^http://www.ragnarok.in.th 1204 0% 360
refresh_pattern -i ^http://www.ragnarok.in.th/refillaccount 1204 0% 360
refresh_pattern -i ^http://www.ragnarok.in.th/r_main.html 1204 0% 360
refresh_pattern -i ^http://www.i-kool.com 1204 0% 360
refresh_pattern -i ^http://www.108-1009.com 1204 0% 360
refresh_pattern -i ^http://www.yailek.com 1204 0% 360
refresh_pattern -i ^http://www.keepalbum.com 1204 0% 360
refresh_pattern -i ^http://www.pacific.net.th 1204 0% 360
refresh_pattern -i ^http://www.songtoday.com 1204 0% 360
refresh_pattern -i ^http://www.irr.co.th 1204 0% 360
refresh_pattern -i ^http://www.yailek.com/photoclub/photo.php?id=20001 1204 0% 360
refresh_pattern -i ^http://www.keepalbum.com/vote/memberalbum.php3?mid=75060 1204 0% 360
refresh_pattern -i ^http://www.geocities.com/bondsnet 1204 0% 360
refresh_pattern -i ^http://www.com-th.net 1204 0% 360
refresh_pattern -i ^http://www.ego.co.th/home.html 1204 0% 360
refresh_pattern -i ^http://www.easyhome.in.th 1204 0% 360
refresh_pattern -i ^http://www.madoo.com 1204 0% 360
refresh_pattern -i ^http://www.narak.com 1204 0% 360
refresh_pattern -i ^http://www.sabye.com 1204 0% 360
refresh_pattern -i ^http://www.mthai.com 1204 0% 360
refresh_pattern -i ^http://www.yailek.com 1204 0% 360
refresh_pattern -i ^http://www.thairath.co.th 1204 0% 360
refresh_pattern -i ^http://www.dailynews.co.th/sunday.asp 1204 0% 360
refresh_pattern -i ^http://www.manager.co.th 1204 0% 360
refresh_pattern -i ^http://www.loxinfo.co.th 1204 0% 360
refresh_pattern -i ^http://www.cscoms.com 1204 0% 360   
refresh_pattern ^http: 43204 0% 10080
refresh_pattern ^https: 43204 0% 10080
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

umask 027
via off
forwarded_for off
coredump_dir c:/squid/var/cache

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 210 1025-65535 280 488 591 777
acl CONNECT method CONNECT
acl localnetwork0 src 127.0.0.0/8
acl localnetwork1 src 192.168.1.1/24
acl localhost src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl Safe_ports port 21 80 443 563 70 210 280 488 591 777 1025-65535
acl CONNECT method CONNECT 
acl keyword url_regex -i sex   
http_access deny keyword

http_access allow manager localhost
http_access allow localnet
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all

cache_mgr Adminstrator
cache_effective_user squid
cache_effective_group squid
visible_hostname Siamcafe.net
ie_refresh on
#delay_pools 1
#delay_class 1 1
#delay_access 1 allow localnet
#delay_parameters 1 20000/20000
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnetwork0
http_access allow localnetwork1

http_access deny all
http_reply_access allow all
icp_access deny all



ie_refresh on


visible_hostname proxyBYsiamcafe.net

cache_mgr [email protected]

TahTaelCom2007

  • บุคคลทั่วไป
เทส

TahTaelCom2007

  • บุคคลทั่วไป
ถามนะครับ ::)
ผมใช้ adsl ของ tot  ความเร็ว 2 Mbps
ร้านผมอยู่บ้านนอก จ.สุรินทร์

เครื่องลูก 10 เครื่อง และ เครื่องแม่ 1 เครื่อง

ตัว router (ใช้ของ 3com แบบ all in one)  ip  คือ 192.168.1.1

เครื่องแม่> ผมใช้การ์ดแลน 2 ใบ   ติดตั้ง Squid

การ์ดแลนใบแรก เซ็ตแบบ auto  ต่อเข้ากับ router
การ์ดแลนใบที่สอง ต่อเข้ากับ switch hub
เซ็ต ip เป็น
ip 192.168.1.2
     255.255.255.0

ส่วนเครื่องลูก จะเริ่มจาก 3 4 5 6 ...............
ip 192.168.1.3               
     255.255.255.0
     192.168.1.1
     192.168.1.1

และเซ็ทที่ IE7 เครื่องลูกต่างๆ ให้ชี้ไปที่ IP เครื่องแม่ คือ 192.168.1.2  port 8080

ปรากฎว่าเข้าเน็ตได้ แต่ไม่สามารถ เข้าเกม online  ได้ครับ

ไม่ทราบว่าต้องแก้ไข ยังไง บ้าง ครับ

ตอนนี้ก็เลย ใช้วิธี ลง Squitd  ทุกเครื่องเลย (ไม่ได้เซ็ตอะไรเพิ่มเติม เข้าเน็ต เข้าเกม ได้หมด )แบบแยก อิสระ ไปพลางๆ ก่อน
ก็เร็วขึ้น อะครับ เพราะเครื่องยังไม่เยอะ

ตัวอย่าง squid config ของผมครับ 8)

-------------------------------------------------------------------------------------------------------------------------------------

icp_port 0
http_port 3128
http_port 800
http_port 8080


hierarchy_stoplist cgi-bin ? .acgi .asp .cgi .css .chtml .htm .html .jhtml .js .jsp .perl .phtml .pl .php .php3 .php4 .shtml .xhtml .xml
acl QUERY urlpath_regex cgi-bin \? \.acgi \.asp \.cgi \.css \.chtml \.htm \.html \.jhtml \.js \.jsp \.perl \.phtml \.pl \.php \.php3 \.php4 \.shtml \.xhtml \.xml
cache deny QUERY



#cache_peer proxy.asianet.co.th parent 8080 0 no-query
#cache_peer 203.144.143.6 sibling 8080 0 no-query

#peer_connect_timeout 5 seconds





cache_mem 512 MB
#maximum_object_size_in_memory 24 Kb
#half_closed_clients off
minimum_object_size 0 KB
maximum_object_size 25600 KB
#cache_swap_high 98%
#cache_swap_low 95%


memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF


cache_dir aufs c:/squid/cache/cache1 800 16 256



access_log none
cache_log none
cache_store_log none

mime_table c:/squid/etc/mime.conf


log_mime_hdrs off

cache_effective_user squid
cache_effective_group squid


refresh_pattern -i .(zip|gz|xfs|exe|arj|npz|lha|lzh|rar|tgz|tar|rar|jar|nup|wz|Z)$ 525960 99% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(class|pdf|rtf|doc|wp|wp5|ps|prn)$ 525960 99% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(mov|avi|mpg|wav|au|mid|mp3)$ 525960 95% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(jpg|gif|jpeg|png|css|js)$ 525960 18000% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(bmp|tif|tiff|xbm)$ 525960 17000% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern -i .(swf)$ 525960 20000% 525960 override-lastmod override-expire reload-into-ims ignore-reload
refresh_pattern ^ftp: 4320 20% 43200
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 1440 50% 14400

umask 027
via off
forwarded_for off
coredump_dir c:/squid/var/cache




acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 210 1025-65535 280 488 591 777
acl CONNECT method CONNECT
acl localnetwork0 src 127.0.0.0/8
acl localnetwork1 src 192.168.0.0/24


http_access allow manager localhost

http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnetwork0
http_access allow localnetwork1

http_access deny all
http_reply_access allow all
icp_access deny all



ie_refresh on


visible_hostname proxyBYsiamcafe.net

cache_mgr [email protected]

ftp_sanitycheck off

----------------------------------------------------------------------------------------------------------------------------------------------
โปรดชี้แนะ ด้วยครับ ชอบโปรแกรม ตัวนี้มากๆ เลย
แต่ยังเซ็ตไม่เป็นครับ....ขอบคุณครับ :'(

ถามอีกอย่างนะครับ  ถ้าเราใช้การ์ดแลนออนบอร์ดใบเดียวที่เครื่องแม่
มีวิธีเซ็ต ยังงัย ครับ...ยัง งง ครับ

ขอบคุณล่วงหน้าครับ

ร้านคอมบ้านนอก...สุรินทร์ :c_laugh:

adapter

  • บุคคลทั่วไป
Re: (โปรแกรมแก้ไขเนตไทยโคตรช้า!! 2) Setup หลังติดเบาะ Edtion หรือ Squid NT.2.
« ตอบกลับ #408 เมื่อ: กุมภาพันธ์ 12, 2008, 12:44:50 am »
ขอคุณม๊าก --------มากครับทุกท่านได้ สักที่ ปัญหาที่ติด ตอนแรก เครื่องแม่ใช้งานได้ เร็วโครต แต่เครื่องเข้าเน็ตไม่ได้ ผมก็ไปมั่วกับโปรแกรม ตั้งนาน ที่นี้เลยไปปิดDHCP แล้วเปิดเครื่อง อีกเครื่อง เป็นเปิด 3 เครื่องแล้วลองดู ตอนแรกไม่ได้ พอรีสตาร์ท เครื่องแม่ มันก็ใช้ได้เลย ใครมีปัญหาแบบผมไปลองแก้นะครับ ไปมั่วกับโปรแกรม ตั้ง 5 ชม.กว่าจะได้ ลืมบอกไปลองเปลี่ยน ไอพี เครื่องแม่ดูนะครับ (หลอกๆๆ มันก่อนน่ะครับ) แล้วใส่ไอพีเดิม   8) 8) 8)

amemecroK

  • บุคคลทั่วไป
curry predispostiion with
« ตอบกลับ #409 เมื่อ: สิงหาคม 18, 2008, 04:40:20 pm »

ออฟไลน์ Art Of Life co.ltd

  • VIP พี่รหัส
  • *****
  • กระทู้: 71
  • Reputation: 0
  • เพศ: ชาย
  • ไม่หล่อแต่จะพยายามรวย+เร้าใจ
ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ songkran1224

  • นักเรียนประถม
  • ****
  • กระทู้: 81
  • Reputation: 0
ขอบคุณสำหรับสิ่งดีๆที่สยามคาเฟ่มีให้ทุกๆคนตลอดมาครับ ขอบคุณจากใจครับ
Signature cleanned by Admin

ออฟไลน์ boytave

  • นักเรียนประถม
  • ****
  • กระทู้: 98
  • Reputation: 0
 :vvv: :punch:
Signature cleanned by Admin

ออฟไลน์ giojoo600

  • นักเรียนประถม
  • ****
  • กระทู้: 59
  • Reputation: 1
 clap :031:
Signature cleanned by Admin

kachen

  • บุคคลทั่วไป
Re: (โปรแกรมแก้ไขเนตไทยโคตรช้า!! 2) Setup หลังติดเบาะ Edtion หรือ Squid NT.2.
« ตอบกลับ #414 เมื่อ: กุมภาพันธ์ 03, 2009, 01:12:03 am »
 ieie         yes                 :P                    nvm

nets

  • บุคคลทั่วไป
 chuchu chuchu chuchu chuchu chuchu

ออฟไลน์ punnet

  • มหาลัยรัฐบาล
  • ******
  • กระทู้: 363
  • Reputation: 0
  • รักกันไว้เถิด อย่าปาระเบิดใส่กัน
 :015: :015: :015: clap clap clap
Signature cleanned by Admin

ออฟไลน์ thaweep

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 6
  • Reputation: 0
ผมใช้ squid รุ่น squid2Stable12SiamcafeEdtion.exe  และใช้เน็ต 5 Mb. แจกให้กับเครื่องลูก 140 เครื่องก็พอใช้ได้นะครับ มีวิธีอื่นๆๆที่ทำให้เร็วกว่านี้ได้ไหมครับ ตอนที่ทำ ip full Download ทำไม่ได้ครับช่วยบอกวิธีด้วยครับ :039: :039: :039:
Signature cleanned by Admin

sajja

  • บุคคลทั่วไป
โอ้ว พระเจ้าจอร์จมันยอดมาก

ออฟไลน์ thanase7

  • สอบภาคทฤษฎี
  • *
  • กระทู้: 6
  • Reputation: 0
ขอปรึกษาสักหลายๆเรื่องหน่อยนะครับมือใหม่ มีอยู่ว่าผมกำลังทำเน็ตหอดูจากกระทู้ด้านบนแล้วผมลองทำดูมืดเลยไปไม่เป็นเลย
 ก่อนอื่นผมตั้งครื่อง server แบบนี้ถูกไหมครับผมขอถามสัก

1    ผมตั้งแบบนี้ถูกไหมครับ  router ADSL   และก็มาเป็ฯ server  squidNT 2.6 หรือ winroute  และก็มา switch   แจกให้ใช้เน็ตทั้งหมด 20 ห้อง อานาคตอาจจะเพิ่มเติมอีก

2.   ระยะห่างจาก  ตัว server ถึง switch ประมาณ 60-70 เมตรมีปัญหาหรือเปล่าครับ

3.   ช่วยแนะนำหน่อยว่าให้ใช้โปรแกรมไหนดีระหว่าง SquidNT 2.6 หรือ Winroute

4.   ถ้าเป็น squidNT มันจะแจก DHCP ได้ไหมครับแจกไอพีจาก ROuter

5.  SquidNT นี่เราต้องมาเขียน config เองหมดเลยใช่ไหมครับ เพราะผมลงเสร็จก็ไม่เห็นมีพวก Folder Block หรือ คำสั่งอะไรเลย

 ผมขอถามแค่นี้ละครับ 

สเปคคอมพิวเตอร์นะครับ  CPU E2180 2.00 GHZ
                                        Ram     512  MB
                                        HD         160  G
                                        Lan ใช้การ์ดสองใบ ถูกไหมครับ
                                       
ถ้าท่านได้อยากจะช่วยผมหรือคุยทาง MSN   ก็ได้นะครับ ทิ้งเมลไว้เด๋วผม แอดไป
 
Signature cleanned by Admin

ออฟไลน์ เด็กอ่อนหัด

  • มือใหม่
  • *
  • กระทู้: 4
  • Reputation: 0
  • เพศ: ชาย
Signature cleanned by Admin

ออฟไลน์ poong2302

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
 ???ห๊าาา มีโปรแกรมอย่างนี้ด้วยเหรอ  dare หึๆ คราวนี้หละๆ
 :012:ขอบคุณครับ
Signature cleanned by Admin

ออฟไลน์ oporejung

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
มีปัญหาเรียนถามค่ะ ตรงจำกัดแบนวิช พอเปิด delay ทุกบรรทัด แล้ว Start service ไม่ได้ค่ะ แต่พอเปิดแค่ 2 บรรทัดล่าง start ได้ค่ะ แล้วเปิดแค่ 2 บรรทัดล่าง มานจาจำกัดแบนวิชไม๊ค่ะ แล้วทำไมเปิดทุกบรรทัด start ไม่ได้ค่ะ  ท่านผู้รู้รบกวนตอบด่วนค่ะ   ขอบคุณค่ะ  :003:
Signature cleanned by Admin

ออฟไลน์ oporejung

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
มีปัญหาเรียนถามค่ะ ตรงจำกัดแบนวิช พอเปิด delay ทุกบรรทัด แล้ว Start service ไม่ได้ค่ะ แต่พอเปิดแค่ 2 บรรทัดล่าง start ได้ค่ะ แล้วเปิดแค่ 2 บรรทัดล่าง มานจาจำกัดแบนวิชไม๊ค่ะ แล้วทำไมเปิดทุกบรรทัด start ไม่ได้ค่ะ  ท่านผู้รู้รบกวนตอบด่วนค่ะ   ขอบคุณค่ะ
Signature cleanned by Admin

maximum9

  • บุคคลทั่วไป
ขอบคุณครับ

ออฟไลน์ tep118

  • นักเรียนมัธยม
  • *****
  • กระทู้: 121
  • Reputation: 0
ขอบคุณครับ vvv
Signature cleanned by Admin

ออฟไลน์ oporejung

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 37
  • Reputation: 0
อาจารย์ค่ะ รบกวนถามหน่อยค่ะ จะจำกัดแบนวิชเด็กที่เอาโปรช่วยดาวโหลด IDM
มาลงช่วยโหลดได้ยังงัยค่ะ จำกัดไว้ 100k โหลดปกติ ก็จะอยู่ในนี้ แต่พอเอา IDM มาช่วยโหลด ขึ้นเป็น 300กว่าk ค่ะ
รบกวนด้วยค่ะ
Signature cleanned by Admin

ออฟไลน์ leo001

  • นักเรียนประถม
  • ****
  • กระทู้: 74
  • Reputation: 0
ลงเสร็จแล้ว  กด start  อย่างเดียวเหรอป่าวคับ
Signature cleanned by Admin

ออฟไลน์ hydexger

  • มือใหม่
  • *
  • กระทู้: 1
  • Reputation: 0
พี่ครับ ช่วยสอนแบบละเอียดคือผมไม่รุ้เรื่องคอมเลยอะคับ  เนตที่ผมใช้เปนไวเรส แล้วแลนไปอีกเครื่องแชร์กันอะคับ  แต่เพื่อนผมมันโหลดโหดมาก สอนวิธิจำกัดการโหลดแบบละเอียดทีครับพี่ ผมพยามอ่าน แต่ผมก้อทำไม่ได้อะคับ พี่ช่วยสอนอย่างละเอียดทีนะครับ ผมทนไม่ไหวแล้ว มันโหลดไม่เกรงใจผมเลย ใส่โค๊ดอะไรตรงไหน พี่ช่วยสอนแบบละเอียดทีนะครับ คือผมอ่านที่พี่ บอกไว้ แต่ผมก้อทำไม่ได้อะคับ ยังไงรบกวนพี่ ช่วยสอนผมทีนะครับ ผมจะทำงาน อะไรไม่ได้เลย เปิดเว็บเนตแทบไม่วิ่ง เหมือนเครื่องเพื่อนผมมันดึงไปหมดเลย ยังๆงรบกวนพี่ๆสอนผมด้วยนะครับ

ขอบคุณล่วงหน้าครับ กระผมจะรอนะครับพี่ ช่วยผมที . . .
Signature cleanned by Admin

ออฟไลน์ minebancom

  • ปี 1 เทอม 2
  • ***
  • กระทู้: 15
  • Reputation: 0
แสดงว่าคุณแทบไม่ได้อ่านรายละเอียดตั้งแต่ต้นเลยซักนิด ...

ของที่ผมทำก็ง่ายครับไม่ต้องใช้ dos เช่นกันแต่ที่ต้องอธิบายก็เหมือนกันการสอนไปในตัวนั่นหละครับ ไม่ใช่ สุกเอาเผากิน ง่ายเกินไปก็ไม่ดี ยากส์เกินไปก็ไม่ดี ผมว่าเอาแบบนี้หละพอดี พอดี สไตล์เวปผมอยู่แล้ว

 และอีกอย่างผมออกโปรแกรมนี้เป็น"คนแรกของไทยตั้งแต่ ปี 2002 เป็นเจ้าแรก "
และวางมือไม่ได้ทำเลยมา 3 ปี

สถิตคนโหลดดูจาก thaiware เอาหละกันนะครับ ถ้ามันไม่ดีจริงคนคงไม่โหลดไปถึง แสนกว่าหรอกครั บ   http://www.thaiware.com/main/info.php?id=602

ส่วนตัวนี้ดีกว่าตัวนั้น ถ้านับเป็นเท่าผมให้แรงกว่า 2 เท่าเลยครับ ถ้าเทียบกับเวอร์ชั่นแรกของผม

อยากรู้ต้องลองเองครั บไม่ได้บังคับ ทำให้ก็ฟรี bannner ก็ไม่มี โฆษณาแอบบแฝงก็ไม่มี ทำด้วยใจล้วนๆครับ


เร็วไม่เร็วลองด้วยตัวคุณเองครับ ......แล้วจะรู้...ว่า แรงแบบ ORIGINAL เป็นอย่างไร
ขอบคุณมากครับ ผมลองมาทุกเวอร์ชั่นแต่ไม่ค่อยได้แสดงความคิดเห็น
มีปัญหาก็เยอะ ลบผิด ลบถูกก็มาก ถูกน้อยครับ
แต่การอ่านมาก ดีกว่าถาม แต่ถ้าไม่มีใครถามก็จะไม่มีคนที่ประสบผลสำเร็จอย่างผม

ผมขอเป็นกำลังใจให้ คนแบบนี้หายาก ขอชื่นชมด้วยใจจิง
ขอบคุณทุกท่านที่ตอบและตั้งคำถาม
Signature cleanned by Admin