【求助】請問squid proxy架設問題 我一直架不起來
請問squid架設問題 我一直架不起來
可否請教一下有經驗的人架設步驟是哪些
我是安裝完後進入 /etc/squid/squid.cong編輯
把註解拿掉
http_port 3128
cache_mem 12 MB
cache_dir ufs /var/spool/squid 100 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
還有
reference_age 1 month
cache_mgr root
acl flag src 192.168.0.0/255.255.255.0
就這些
然後建立快取目錄
# squid -z
然後
# /etc/rc.d/init.d/squid restart
確認squid執行
# ps aux |grep squid
root 2106 0.0 0.4 3928 1068 ? S 17:14 0:00 squid -D
squid 2108 0.0 1.7 6252 4216 ? S 17:14 0:00 (squid) -D
squid 2109 0.0 0.1 1336 284 ? S 17:14 0:00 (unlinkd)
但是還是起不來
請問有經驗得人我是哪裡做錯ㄚ
請指教
謝謝
回覆: 【求助】請問squid proxy架設問題 我一直架不起來
[QUOTE][i]最初由 terco 發表[/i]
[B]請問
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
acl flag src 192.168.0.0/255.255.255.0
[/B][/QUOTE]
看看這三個log寫些什麼??
嗯
還有檢查你整個acl rule 的先後順序...
是否有寫錯,結果被deny了
註解的設定都拿掉???不太懂妳拿掉的意思ㄟ
能否說清楚一點??
# The default Squid config file shows what the defaults for
# various options happen to be. .[COLOR=orangered]If you don't need to change thedefault, you shouldn't uncomment the line. Doing so may cause run-time problems. In some cases "none" refers to no
default
# setting at all[/COLOR] , while in other cases it refers to a valid
# option - the comments for that keyword indicate if this is the
#
回覆: 回覆: 【求助】請問squid proxy架設問題 我一直架不起來
[QUOTE][i]最初由 repsol 發表[/i]
[B]看看這三個log寫些什麼??
嗯
還有檢查你整個acl rule 的先後順序...
是否有寫錯,結果被deny了
註解的設定都拿掉???不太懂妳拿掉的意思ㄟ
能否說清楚一點??
[/B][/QUOTE]
那3個是紀錄連進proxy的紀錄檔而已 不使用也沒關西 書是這麼說
註解的設定是說
本來是#acl flag src 192.168.0.0/255.255.255.0
變成acl flag src 192.168.0.0/255.255.255.0
我把井字號拿掉了