- Beranda
- Komunitas
- Tech
- Computer Stuff
ask tentang squid warnet di windows LAN


TS
pantom25
ask tentang squid warnet di windows LAN
assalamualaikum wr wb
ane punya warnet gan dg sapidi 2mb, 1 pc billing windows xp,10 pc client, mikrotik rb750
kmren ane searching tentang squid penghemat bandwith..ane uda utak atik tuh squid...ane uda install squid di pc billing windows xp dan squid pun berhasil ane jalankan,,tpi pas ane coba ke pc client dengan ganti portnya malah ada pesan tidak ada proxy bla bla bla
ip addres server 192.168.1.21
ip client 192.168.1.101-192.168.1.110
ip gateway{mikrotikrb750} 192.168.1.1
topologi modem--rb750miktorik---hub---pcbilling+pcclinet
tolong di koreksi gan,,saya masih newbie ambil squid dri google,,trus ane edit dikit2...mohon bantuannya untuk saya agar lbih mendalami ilmu saya ke depan...terima kasih
ane punya warnet gan dg sapidi 2mb, 1 pc billing windows xp,10 pc client, mikrotik rb750
kmren ane searching tentang squid penghemat bandwith..ane uda utak atik tuh squid...ane uda install squid di pc billing windows xp dan squid pun berhasil ane jalankan,,tpi pas ane coba ke pc client dengan ganti portnya malah ada pesan tidak ada proxy bla bla bla
ip addres server 192.168.1.21
ip client 192.168.1.101-192.168.1.110
ip gateway{mikrotikrb750} 192.168.1.1
topologi modem--rb750miktorik---hub---pcbilling+pcclinet
Spoiler for squid.conf:
http_port 127.0.0.1:3128 transparent
cache_mgr alyauma@ semausaya.com
forwarded_for off
visible_hostname 192.168.1.21
server_http11 on
# dns_nameservers 202.134.1.10 202.134.0.155 192.168.1.21 192.168.1.1
cache_mem 300 MB
maximum_object_size 50 MB
maximum_object_size_in_memory 128 KB
cache_swap_low 98%
cache_swap_high 99%
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir ufs E:/cache 500 16 256
cache_access_log C:/squid/var/logs/access.log
cache_log none
cache_store_log none
mime_table C:/squid/etc/mime.conf
pid_filename C:/squid/var/logs/squid.pid
coredump_dir C:/squid/var/logs/
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
maximum_object_size 4194240 KB
maximum_object_size_in_memory 1024 KB
negative_ttl 2 minutes
half_closed_clients off
ipcache_size 4096
ipcache_low 95
ipcache_high 100
log_fqdn off
log_icp_queries off
buffered_logs off
emulate_httpd_log off
memory_pools off
reload_into_ims on
pipeline_prefetch on
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl lan src 192.168.1.0/24
acl server src 192.168.1.21
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#================= Yahoo! Messenger ==============================================
acl ym dstdomain .messenger.yahoo.com .psq.yahoo.com
acl ym dstdomain .us.il.yimg.com .msg.yahoo.com .pager.yahoo.com
acl ym dstdomain .rareedge.com .ytunnelpro.com .chat.yahoo.com
acl ym dstdomain .voice.yahoo.com
acl ymregex url_regex yupdater.yim ymsgr myspaceim
#================= Protokol lain Yahoo!Messenger =================================
acl ym dstdomain .skype.com .imvu.com
#================= Testing doang, siapa tahu bermanfaat =========================
refresh_pattern ^http://([^/]+)yahoo\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)google\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)facebok\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)fbcdn\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)zynga\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)ninjasaga\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)texas_holdem\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)indowebster\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)4*shared\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)yimg\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)plasa\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detik\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikinet\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikhot\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikportal\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)google-analytics\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)kapanlagi\..*$ 10080 80% 43200 reload-into-ims
#================= Manual configuration ===============================================
refresh_pattern ^http://(.*?)/get_video\? 1440 50% 43200
refresh_pattern ^http://(.*?)/videoplayback\? 1440 50% 43200
refresh_pattern -i (get_video\?|videoplayback\?id|videoplayback.*id) 1440 50% 43200
#================= Website ============================================================
refresh_pattern -i \.(class|css|js|ps|psf|html|xml)$ 1440 50% 43200
refresh_pattern -i \.(css\?|js\?)$ 1440 50% 43200
#================= Gambar =============================================================
refresh_pattern -i \.(bmp|gif|jpeg|jpg|png|psd|tif|tiff)$ 1440 50% 43200
refresh_pattern -i \.(gif\?|jpg\?|png\?|jpeg\?|psd\?)$ 1440 50% 43200
#================= Multimedia =========================================================
refresh_pattern -i \.(3gp|ac4|asf|au|avi|divx|flv|m4p|mid|mov|mp3|mp4)$ 1440 50% 43200
refresh_pattern -i \.(mpa|mpe|mpeg|mpg|qt|ra|rm|rmvb|swf|viv|wav|wmp|wmv)$ 1440 50% 43200
#================= Kompresor ==========================================================
refresh_pattern -i \.(7z|ace|arj|bin|bz2|deb|dmg|gz|gz2)$ 1440 50% 43200
refresh_pattern -i \.(iso|lha|lzh|rar|rpm|tar|tgz|txz|zip)$ 1440 50% 43200
#================= Windows Punya ======================================================
refresh_pattern -i \.(ad|cab|dat|dll|exe|inc|qtm)$ 1440 50% 43200
refresh_pattern -i \.(doc|docx|hqf|pdf|ppt|pptx|rtf|txt|xls|xlsx)$ 1440 50% 43200
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern cgi-bin 0 0% 0
refresh_pattern \? 0 20% 4320
refresh_pattern . 0 20% 4320
storeurl_access deny all
http_access allow manager localhost
http_access allow ym
http_access allow localhost
http_access allow lan
http_access allow server
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
http_port 3128 transparent
#================= YouTube options. ===================================================
quick_abort_min -1 KB
cache allow all
header_access Proxy-Connection deny all
header_access Cache-Control deny all
header_access X-Cache deny all
header_access X-Cache-Lookup deny all
header_access X-Powered-By deny all
header_access Via deny all
header_access Forwarded-For deny all
header_access X-Forwarder-For deny all
cache_mgr alyauma@ semausaya.com
forwarded_for off
visible_hostname 192.168.1.21
server_http11 on
# dns_nameservers 202.134.1.10 202.134.0.155 192.168.1.21 192.168.1.1
cache_mem 300 MB
maximum_object_size 50 MB
maximum_object_size_in_memory 128 KB
cache_swap_low 98%
cache_swap_high 99%
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir ufs E:/cache 500 16 256
cache_access_log C:/squid/var/logs/access.log
cache_log none
cache_store_log none
mime_table C:/squid/etc/mime.conf
pid_filename C:/squid/var/logs/squid.pid
coredump_dir C:/squid/var/logs/
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
maximum_object_size 4194240 KB
maximum_object_size_in_memory 1024 KB
negative_ttl 2 minutes
half_closed_clients off
ipcache_size 4096
ipcache_low 95
ipcache_high 100
log_fqdn off
log_icp_queries off
buffered_logs off
emulate_httpd_log off
memory_pools off
reload_into_ims on
pipeline_prefetch on
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl lan src 192.168.1.0/24
acl server src 192.168.1.21
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#================= Yahoo! Messenger ==============================================
acl ym dstdomain .messenger.yahoo.com .psq.yahoo.com
acl ym dstdomain .us.il.yimg.com .msg.yahoo.com .pager.yahoo.com
acl ym dstdomain .rareedge.com .ytunnelpro.com .chat.yahoo.com
acl ym dstdomain .voice.yahoo.com
acl ymregex url_regex yupdater.yim ymsgr myspaceim
#================= Protokol lain Yahoo!Messenger =================================
acl ym dstdomain .skype.com .imvu.com
#================= Testing doang, siapa tahu bermanfaat =========================
refresh_pattern ^http://([^/]+)yahoo\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)google\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)facebok\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)fbcdn\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)zynga\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)ninjasaga\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)texas_holdem\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)indowebster\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)4*shared\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)yimg\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)plasa\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detik\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikinet\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikhot\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)detikportal\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)google-analytics\..*$ 10080 80% 43200 reload-into-ims
refresh_pattern ^http://([^/]+)kapanlagi\..*$ 10080 80% 43200 reload-into-ims
#================= Manual configuration ===============================================
refresh_pattern ^http://(.*?)/get_video\? 1440 50% 43200
refresh_pattern ^http://(.*?)/videoplayback\? 1440 50% 43200
refresh_pattern -i (get_video\?|videoplayback\?id|videoplayback.*id) 1440 50% 43200
#================= Website ============================================================
refresh_pattern -i \.(class|css|js|ps|psf|html|xml)$ 1440 50% 43200
refresh_pattern -i \.(css\?|js\?)$ 1440 50% 43200
#================= Gambar =============================================================
refresh_pattern -i \.(bmp|gif|jpeg|jpg|png|psd|tif|tiff)$ 1440 50% 43200
refresh_pattern -i \.(gif\?|jpg\?|png\?|jpeg\?|psd\?)$ 1440 50% 43200
#================= Multimedia =========================================================
refresh_pattern -i \.(3gp|ac4|asf|au|avi|divx|flv|m4p|mid|mov|mp3|mp4)$ 1440 50% 43200
refresh_pattern -i \.(mpa|mpe|mpeg|mpg|qt|ra|rm|rmvb|swf|viv|wav|wmp|wmv)$ 1440 50% 43200
#================= Kompresor ==========================================================
refresh_pattern -i \.(7z|ace|arj|bin|bz2|deb|dmg|gz|gz2)$ 1440 50% 43200
refresh_pattern -i \.(iso|lha|lzh|rar|rpm|tar|tgz|txz|zip)$ 1440 50% 43200
#================= Windows Punya ======================================================
refresh_pattern -i \.(ad|cab|dat|dll|exe|inc|qtm)$ 1440 50% 43200
refresh_pattern -i \.(doc|docx|hqf|pdf|ppt|pptx|rtf|txt|xls|xlsx)$ 1440 50% 43200
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern cgi-bin 0 0% 0
refresh_pattern \? 0 20% 4320
refresh_pattern . 0 20% 4320
storeurl_access deny all
http_access allow manager localhost
http_access allow ym
http_access allow localhost
http_access allow lan
http_access allow server
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
http_port 3128 transparent
#================= YouTube options. ===================================================
quick_abort_min -1 KB
cache allow all
header_access Proxy-Connection deny all
header_access Cache-Control deny all
header_access X-Cache deny all
header_access X-Cache-Lookup deny all
header_access X-Powered-By deny all
header_access Via deny all
header_access Forwarded-For deny all
header_access X-Forwarder-For deny all
tolong di koreksi gan,,saya masih newbie ambil squid dri google,,trus ane edit dikit2...mohon bantuannya untuk saya agar lbih mendalami ilmu saya ke depan...terima kasih
0
3K
Kutip
3
Balasan


Komentar yang asik ya
Urutan
Terbaru
Terlama


Komentar yang asik ya
Komunitas Pilihan