Proxy Server with Squid

remote 서버에서 다음과 같이 squid를 설치 그리고 설정을 합니다.

sudo apt-get update
sudo apt-get install squid

sudo cp  /etc/squid/squid.conf /etc/squid/original.conf
sudo vi /etc/squid/squid.conf

모두 삭제후 다음과 같이 작성합니다.

http_port 3128
http_access allow all
acl all src all

# via off
forwarded_for off
# follow_x_forwarded_for deny all

shutdown_lifetime 1 seconds

cache_store_log none
cache_log /dev/null
cache deny all

설정후 재시작 합니다.

sudo service squid restart
sudo service squid status