티스토리 뷰

OpenSUSE 11 Proxy Server Squid : Install


Squid : Install

 

Install Squid to configure Proxy server.


1. Install Squid.


prox:~ # zypper -n install squid3




2. This is common forward proxy settings.


prox:~ # vi /etc/squid/squid.conf

acl CONNECT method CONNECT

# line 29: add ( define new ACL )

acl lan src 10.0.0.0/24

http_access allow localhost


# line 56: add ( allow defined ACL above )

http_access allow lan


# add follows to the end

request_header_access Referer deny all

request_header_access X-Forwarded-For deny all

request_header_access Via deny all

request_header_access Cache-Control deny all


# do not display IP address

forwarded_for off


prox:~ # /etc/init.d/squid start 

prox:~ # chkconfig squid on 

저작자 표시 비영리 변경 금지
신고
댓글