티스토리 뷰

EN/Fedora 18

Fedora 18 Proxy Server Install Squid

ServerWorld 2016.04.23 18:38

Fedora 18 Proxy Server Install Squid


Install Squid

 

Configure Proxy server and make web browzing fast. Install Squid for it.



1. Install and configure Squid


[root@lan ~]# yum -y install squid


[root@lan ~]# vi /etc/squid/squid.conf


acl CONNECT method CONNECT


# line 26: add ( define new ACL )

acl lan src 10.0.0.0/24

http_access allow localhost


# line 54: add ( allow defined ACL above )

http_access allow lan


# line 59: change

http_port 8080


# add at the last line

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


# add (specify hostname)

visible_hostname lan.server.world


# add (hide IP address)

forwarded_for off


[root@lan ~]# systemctl start squid.service 

[root@lan ~]# systemctl enable squid.service 

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