안녕하십니까? squid를 이용해 Proxy server를 구축하다가
안되는 부분이 생겨서 이렇게 질문을 드립니다.
1.구성
인터넷망 <- Proxy server(회사:netscape proxy) <- Linux server(squid)
<- client
회사내의 모든 client는 회사의 Proxy server를 setting 해야만 인터넷이
가능합니다. squid를 설치하고자 하는 linux server도 마찬가지임.
2.설치
KLPD의 Squid-Users Guide 및 Squid-Users FAQs를 참조
여기 "질문과 답변"란에서 얻은 정보를 참조하여 작성.
3.현상
설치까지의 과정 중 이상현상은 없었으며 squid daemon도 정상적으로 load됨
"client http://www.yahoo.co.kr" 시
"client: ERROR: Cannot connect to localhost:3128: 연결이 거부됨" 메세지 display
4.squid.conf 파일
http_port 8080
cache_mem 8 MB
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
pid_filename /usr/local/squid/logs/squid.pid
cache_effective_user squid
cache_effective_group squidadm
cache_dir ufs /usr/local/squid/cache 100 16 256
#Defaults:
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 21 443 563 70 210 1025-65535
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
#Default configuration:
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
http_access allow all
icp_access allow all
5.궁금한 사항
- http_port는 8080 인데 왜 "client: ERROR: Cannot connect to localhost:3128: 연결이 거부됨"
메세지가 나타나는지.
- 회사내 Proxy server와 client 사이에 squid가 설치된 Proxy server가 들어가서
정상적으로 사용이 가능한지.
- squid.conf 파일에 문제점이 있는지.
장황하게 나열하여 죄송합니다만 여러군데를 돌아다니면서 물어봐도 아는 사람이
없는지 답변을 해 주시는 사람이 없네요.
해결방법 및 squid.conf 파일의 사항을 체크해 주시면 감사드리겠읍니다.
부탁드립니다.--이 곳에 서명을 적어주십시오.
제발 ...