亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 2792 | 回復(fù): 7
打印 上一主題 下一主題

[proxy] 剛開(kāi)始弄,錯(cuò)誤中長(zhǎng)大(Squid) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-07-18 13:47 |只看該作者 |倒序?yàn)g覽
有如下配置:
[root@runtop ~]# more /etc/squid/squid.conf
http_port 3128
cache_mgr admin@runtop.com

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache


cache_dir ufs /var/spool/squid/var 4096 16 256
cache_mem 320 MB
cache_swap_low 90
cache_swap_high 95
cache_effective_user squid
cache_effective_group squid
cache_access_log /var/spool/squid/logs/access.log squid
cache_log /var/spool/squid/logs/cache.log
cache_store_log /var/spool/squid/logs/store.log
#dns_nameservers 61.152.86.18 202.96.209.6 61.152.82.18
error_directory /usr/share/squid/errors/Simplify_Chinese

visible_hostname Runtop.Server

client_netmask 255.255.255.255

refresh_pattern ^ftp:   1440    20%  10080
refresh_pattern ^gopher:  1440  0%   1440
refresh_pattern .       0   20% 4320

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
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
#acl allow_all arp 00:16:36:31:3b:4b
acl deny_url dstdomain .qq.com .tencent.com
#acl deny_qq dst "/root/qq.txt"
acl deny_file urlpath_regex -i \.mp3$ \.avi$ \.exe$ \.rar$ \.rm$ \.rmvb$ \.wmv$
\.mp4$ \.3gp$ \.iso$ \.mds$

#acl allow_group_a arp "/root/a.txt"
#acl allow_group_b arp "/root/b.txt"
#acl allow_group_c arp "/root/c.txt"

acl deny_time_a time SMTWHFA 00:00-10:00 13:00-16:00 20:00-23:59
acl deny_time_b time SMTWHFA 00:00-12:00 13:00-16:00 20:00-23:59


#http_access allow allow_all

http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny deny_url

#http_access deny deny_qq
http_access deny deny_file

#http_access allow allow_group_a
#http_access deny deny_time_a
#http_access allow allow_group_b
#http_access deny deny_time_b
#http_access allow allow_group_c

http_access allow all

http_reply_access allow all
icp_access allow all

coredump_dir /var/spool/squid/var
[root@runtop ~]#
[root@runtop ~]#


redhat 5.0  squid 2.6

squid 開(kāi)起后,客戶端就沒(méi)有任何反應(yīng),也不提示什么, 有人知道為什么嗎?

論壇徽章:
2
2015年辭舊歲徽章
日期:2015-03-03 16:54:1515-16賽季CBA聯(lián)賽之上海
日期:2016-05-05 09:45:14
2 [報(bào)告]
發(fā)表于 2008-07-18 14:53 |只看該作者
你要做什么代理?? 是普通代理嗎?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2008-07-18 15:10 |只看該作者
是的,
最起碼的上網(wǎng)功能.

論壇徽章:
2
2015年辭舊歲徽章
日期:2015-03-03 16:54:1515-16賽季CBA聯(lián)賽之上海
日期:2016-05-05 09:45:14
4 [報(bào)告]
發(fā)表于 2008-07-18 16:30 |只看該作者
運(yùn)行有出錯(cuò)嗎,,
如果沒(méi)出錯(cuò)的話,你可以在IE里面設(shè)置一下,就可以通過(guò)它代理上網(wǎng)了

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2008-07-18 16:39 |只看該作者
客戶端怎么設(shè)置的?不會(huì)沒(méi)有任何反應(yīng)吧?

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2008-07-18 17:23 |只看該作者
客戶端設(shè)置:工具---->選項(xiàng)---->連接---->LAN 設(shè)置---->代理服務(wù)器:172.17.5.1  3128


瀏覽器顯示"不能顯示網(wǎng)頁(yè)"


網(wǎng)卡IP為:
[root@runtop ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1D:7D:C5:A1:4F  
          inet addr:172.17.5.1  Bcast:172.17.5.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:7dff:fec5:a14f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17975 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13326 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1609719 (1.5 MiB)  TX bytes:2094397 (1.9 MiB)
          Interrupt:17 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:14:BF:5D:6E:15  
          inet addr:192.168.1.88  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:bfff:fe5d:6e15/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21606 errors:0 dropped:0 overruns:0 frame:0
          TX packets:508 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1387120 (1.3 MiB)  TX bytes:61130 (59.6 KiB)
          Interrupt:21 Base address:0x8000

192.168.1.88 是外網(wǎng)

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2008-07-19 12:36 |只看該作者
防火墻,沒(méi)關(guān),
關(guān)了就可以,,,

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2008-07-22 16:39 |只看該作者
原帖由 tiansky 于 2008-7-19 12:36 發(fā)表
防火墻,沒(méi)關(guān),
關(guān)了就可以,,,

什么防火墻?iptables嗎?
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP