Professional Documents
Culture Documents
Config NTP Server SSH Server DNS Server DHCP Server Storage Server Virtualization NFS Server NIS Server LDAP Server WEB Server Database FTP Server MAIL Server Samba Server Proxy Server Desktop Env Others Other OS Introductions Histories Links Contact us 6873 / 7078754 Proxy Server Install Squid Run with Clamav SquidGuard Reverse Proxy
Install
Squid
2011/11/14
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 request_header_access request_header_access request_header_access
Referer deny all X - Forwarded - For deny all Via deny all 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
NetSwitcher for Windows
[2] Start Web browser on your client PC. This is the example on Switch network settings on the fly Internet Explorer 9. Select [Tools] - [Internet Options] and move to Windows 7, Vista [Connections] tab like below. and XP compatible
MobileNetSwitch.com
[3] Check 'use a proxy' and input server's hostname and port number set in the section [1]. Then, you can access to internet through proxy server.