Linux
Reply Return

Ǣ : problem firewall --- squid

ͤ
: ni123
ѹ : 15 Ҿѹ,2002 at 12:52:05 [ IP : 203.170.131.35 ]
Ǣ : problem firewall --- squid
¢ͤ:
ŧ mdk 8.1 Ѻ
server Ѻ

͹Ẻ价 control center share internet Ѻ
ͧ١ 98 ҹѺ

ԤѺ
͹ͧ١ö ǻ Ѻ
ͧ 192.168.0.1 ˹ФѺ
webserver ¤Ѻ
ͧ١ 192.168.0.1 Դâ¤Ѻ
ͧѺ apache server ˹ФѺ

ǵ͹ͧѹ squid ¤Ѻ
ҹѺ
ҹͧѺ
ͧ set proxy browser ͧ 价 192.168.0.1 port 3128
Ѻ
ԤѺ
ͧ١Ѻ proxy Ѻ
֧ͧѺ

ǵ͹ squid.conf ͧ remark
÷Ѵ http_access allow all
ǤѺ

Ƿͧѹ client http://www.sanook.com test
ǤѺ
駹Ѻ
͹
ջѭ ͧ 駨ҡ ҷ ǻ server
Сҧ֧ squid Ѻ

͹ ͧ١ ԧͧѺ

Դ繻ѭҷ˹ФѺ
ҺҨзѧ䧴դѺ
¡سҴ¤Ѻ ͺسѺ


ͺ 1
: banana^_^
ѹ : 18 ¹,2002 at 14:27:19 [ IP 203.151.39.10 ]
Ǣ : Re: problem firewall --- squid
ͺ :
ͧ squid Ѻ ͧ絵ҧҧѺ ͧٹФѺ
http_port 8080
icp_port 3130
cache_peer proxy.kknet.co.th parent 8080 3130 (proxy.¹繢ͧ ISP س)
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
maximum_object_size 10 MB
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
unlinkd_program /usr/lib/squid/unlinkd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
range_offset_limit 0 KB
acl mynet src 192.168.1.0/255.255.255.224(IP ǧŹͧѺѧ mynet)
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 SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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

http_access allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow mynet(˹ mynet öҹѺ)
http_access allow localhost
http_access allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
store_avg_object_size 13 KB
uri_whitespace allow


ҹ سҪµͺԸѭ˹¤Ѻ ͺسҡѺ :

:
E-Mail :
Ǣ :
ͤ :