Coolx World - Computer ???
Proxy 서버 squid 설치 및 설정 (Linux)
2017-09-08 10:29 - swindler
일반적으로 리눅스 계열에서 많이 사용하는 Proxy 서버중 squid

설치는 다음과 같이 쉽게 할 수 있음
apt-get install squid


설정파일은 /etc/squid/squid.conf 이며,
기본적으로 접근이 막혀 있으므로, 간단하게 설정 필요

기본설정
acl all src 0.0.0.0/0.0.0.0

http_access allow manager localhost
http_access deny manager


전체 허용
acl all src all
http_accesss allow all


기본포트는 3128임.

인증이나 IP 제한등은 구글링 참고.

swindler - 2017-09-08 17:19
forwarded_for on 이 기본설정인데 (client ip가 그대로 전송됨), proxy server ip로 남길 원하면 forwarded_for off 설정을 하면 됨.
Copyright © 1999-2020, swindler.

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog