Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Proxy server configuration  (Read 1576 times)

0 Members and 1 Guest are viewing this topic.

sachinj

  • Guest
Proxy server configuration
« on: September 29, 2017, 01:09:09 am »
What is Proxy Server ?

1. Proxy Server controls client computers
access to the Internet.
2.It blocks the users from accessing undesirable websites
and hides the internal identity of the network.
3.It improves performance by storing webpages locally.
4.It is generally used to share internet from one machine
to several clients.
5. Squid Proxy is widely used as Proxy because it provides
many features & is an open source.

Squid Proxy Server

Squid proxy can be configured as :-
    (i)  A Simple Proxy (ie to share server)
    (ii) A Caching Web Server
    (ii) A Firewall

Requirements

  (i) Packages
     squid-2.5.STABLE6-3.i386.rpm
  (ii) Port Numbers
      3128 (default)
  (iii)Configuration File
   /etc/squid/squid.conf
  (iv)  Service
    squid
  (v) Daemon
      squid

Configuring Proxy Server

1.Install the package by using one of the installation methods

Code: [Select]
[root@comp1~]# mount 192.168.0.250:/var/ftp/pub/RedHat/RPMS/ /mnt
[root@comp1 ~]# cd /mnt
[root@comp1 ~]# rpm -ivh squid* --force --aid

2.Open configuration for editing

Code: [Select]
[root@comp1~]# vi /etc/squid/squid.conf
3.To restart the Proxy services

Code: [Select]
[root@comp1 ~]# service squid restart
Thanks  :)