Proxy Server

Proxy Server- It is very beautiful feature of Linux.

In simple word how we can use Internet services like proxy setup or “Hooking” way.

Squid is responsible for Proxy Server & sometimes we say this server as Squid Proxy Server also.

squid port no- 3128

Below the way to configure Proxy Server:-

First to check squid rpm package through

# rpm -qa squid

If the rpm package not available then we should install RPM package.

There are two ways to install RPM package

1. Insert Linux CD/DVD, browse RPM package then install through the command

]#rpm -ivh squid

2. second we can install through internet from command

]# yum install squid
Now Configuration file is
vi /etc/squid/squid.conf
now inside configuration file (vi /etc/squid/squid.conf) to search CONNECT through giving command
/CONNECT
(add these lines to allow and deny networks in limited_user & block sites in block_sites )
acl limited_user src “/etc/squid/limited_user”
acl block_sites url_regex “/etc/squid/block_sites”
(then search /INSERT and add these lines)

http_access allow localhost
http_access deny all
http_access allow limited_user !block_sites

Now save and exit then run the command
]#service squid restart

* Now We should put this computer’s IP address to other computer’s browser Network ->Setting-> Put this IP in proxy setting with port no 3128.

 

Happy To Help You ….;)
Genowin Technologies
All Linux, UNIX Solution & Training.
Genowin Technologies (www.genowin.com)

Leave a Reply

Your email address will not be published. Required fields are marked *