SlideShare a Scribd company logo
SQUID SERVER: 
Squid is a high-performance HTTP and FTP caching proxy server. It is also known as a Web proxy 
cache. It can make your network connections more efficient. As it stores data from frequently used 
Web pages and files, it can often give your users the data they need without their systems having to 
look to the Internet. 
Studies on very busy networks suggest that a Squid server can reduce the size, or bandwidth, of 
your Internet connection. That can lead to considerable savings for larger offices. 
Squid uses the Inter-Cache Protocol (ICP) for transfers between participating peer and parent/child 
cache servers. It can be used either as a traditional caching proxy or as a front-end accelerator for a 
traditional Web server. 
STEPS TO CONFIGURE SQUID PROXY SERVER : 
1. Configure a TCP/IP for Squid Server : 
[root@localhost /]# netconfig or system-config-network or setup 
IP address: ________________ 
Netmask: 
___________ 
_____ 
Default 
gateway (IP): 
___________ 
_____ 
Primary 
nameserver: 
___________ 
_____
2. Configure the /etc/squid.conf file : 
· Change the default port no to 8080 
· Create a acl rule under the 127.0.0.01 
· Create a http_access allow and deny rule under the http_access 
[root@localhost /]# vi /etc/squid/squid.conf 
· Go to the port line : /3128 and change the port 
#detault: 
http_port 8080 
· Go to the line and create a acl rule: /127.0.0.01 
#Recommended minimum configuration: 
# Near the src acl src section 
#Recommended minimum configuration: 
acl all src 0.0.0.0/0.0.0.0 
acl manager proto cache_object 
acl localhost src 172.16.0.0/255.255.0.0 
acl to_localhost dst 127.0.0.0/8 
acl yahoo dstdomain .yahoo.com 
acl gmail dstdomain .gmail.com 
acl cric dstdomain .cricinfo.com 
acl CONNECT method CONNECT 
· Go to the line and allow the rules: /http_access 
#Recommended minimum configuration: 
# Only allow cachemgr access from localhost 
http_access deny yahoo 
http_access deny gmail 
http_access allow cric 
http_access allow local 
Restart the Squid services:
[root@localhost /]# service squid restart 
[root@localhost /]# /etc/init.d/squid restrart 
On the service of Squid server : 
[root@localhost /]# chkconfig squid on 
ON CLIENT SIDE : 
Configure a TCP/IP for your Lan computers : 
[root@localhost /]# netconfig or system-config-network or setup 
IP address: ________________ 
Netmask: ________________ 
Default gateway (IP): ________________ 
Primary nameserver: ________________ 
Go to the internet explorer 
Edit -> preferences -> internet connections-. 
Set the squid server ip address and port no

More Related Content

What's hot

Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARINGab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARIN
AZUG FR
 
Curl Tutorial
Curl Tutorial Curl Tutorial
Curl Tutorial
Ankireddy Polu
 
Basics of NGINX
Basics of NGINXBasics of NGINX
Basics of NGINX
Squash Apps Pvt Ltd
 
Webserver
WebserverWebserver
Webserver
ARYA TM
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
Ankush Jain
 
Backing up thousands of containers
Backing up thousands of containersBacking up thousands of containers
Backing up thousands of containers
Marian Marinov
 
Oscon 2010 - ATS
Oscon 2010 - ATSOscon 2010 - ATS
Oscon 2010 - ATS
Leif Hedstrom
 
Passwordless login with unix auth_socket
Passwordless login with unix auth_socketPasswordless login with unix auth_socket
Passwordless login with unix auth_socket
Otto Kekäläinen
 
Servers & Web Hosting
Servers & Web HostingServers & Web Hosting
Servers & Web Hosting
Reza San
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
Information Technology
 
How to optimize CloudLinux OS limits
How to optimize CloudLinux OS limitsHow to optimize CloudLinux OS limits
How to optimize CloudLinux OS limits
CloudLinux
 
DevOps Meetup ansible
DevOps Meetup   ansibleDevOps Meetup   ansible
DevOps Meetup ansible
sriram_rajan
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
Severalnines
 
Apache Web server Complete Guide
Apache Web server Complete GuideApache Web server Complete Guide
Apache Web server Complete Guide
webhostingguy
 
Web performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transitionWeb performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transition
seanwalbran
 
MySQL for Beginners - part 1
MySQL for Beginners - part 1MySQL for Beginners - part 1
MySQL for Beginners - part 1
Ivan Zoratti
 
Apache Web Server Setup 4
Apache Web Server Setup 4Apache Web Server Setup 4
Apache Web Server Setup 4
Information Technology
 
5 things MySql
5 things MySql5 things MySql
5 things MySql
sarahnovotny
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request Smuggling
Akash Ashokan
 
Http smuggling 1 200523064027
Http smuggling 1 200523064027Http smuggling 1 200523064027
Http smuggling 1 200523064027
n|u - The Open Security Community
 

What's hot (20)

Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARINGab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARIN
 
Curl Tutorial
Curl Tutorial Curl Tutorial
Curl Tutorial
 
Basics of NGINX
Basics of NGINXBasics of NGINX
Basics of NGINX
 
Webserver
WebserverWebserver
Webserver
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Backing up thousands of containers
Backing up thousands of containersBacking up thousands of containers
Backing up thousands of containers
 
Oscon 2010 - ATS
Oscon 2010 - ATSOscon 2010 - ATS
Oscon 2010 - ATS
 
Passwordless login with unix auth_socket
Passwordless login with unix auth_socketPasswordless login with unix auth_socket
Passwordless login with unix auth_socket
 
Servers & Web Hosting
Servers & Web HostingServers & Web Hosting
Servers & Web Hosting
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
 
How to optimize CloudLinux OS limits
How to optimize CloudLinux OS limitsHow to optimize CloudLinux OS limits
How to optimize CloudLinux OS limits
 
DevOps Meetup ansible
DevOps Meetup   ansibleDevOps Meetup   ansible
DevOps Meetup ansible
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
 
Apache Web server Complete Guide
Apache Web server Complete GuideApache Web server Complete Guide
Apache Web server Complete Guide
 
Web performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transitionWeb performance across the HTTP to HTTPS transition
Web performance across the HTTP to HTTPS transition
 
MySQL for Beginners - part 1
MySQL for Beginners - part 1MySQL for Beginners - part 1
MySQL for Beginners - part 1
 
Apache Web Server Setup 4
Apache Web Server Setup 4Apache Web Server Setup 4
Apache Web Server Setup 4
 
5 things MySql
5 things MySql5 things MySql
5 things MySql
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request Smuggling
 
Http smuggling 1 200523064027
Http smuggling 1 200523064027Http smuggling 1 200523064027
Http smuggling 1 200523064027
 

Viewers also liked

Storage Server & Brach Cache
Storage Server & Brach CacheStorage Server & Brach Cache
Storage Server & Brach Cache
Amit Gatenyo
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparison
Rohit Kelapure
 
Proxy
ProxyProxy
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
Michal Špaček
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Cal Henderson
 
NGINX High-performance Caching
NGINX High-performance CachingNGINX High-performance Caching
NGINX High-performance Caching
NGINX, Inc.
 

Viewers also liked (6)

Storage Server & Brach Cache
Storage Server & Brach CacheStorage Server & Brach Cache
Storage Server & Brach Cache
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparison
 
Proxy
ProxyProxy
Proxy
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
 
NGINX High-performance Caching
NGINX High-performance CachingNGINX High-performance Caching
NGINX High-performance Caching
 

Similar to 17937858 squid-server - [the-xp.blogspot.com]

Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hosting
webhostingguy
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
oazabir
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-server
HARRY CHAN PUTRA
 
Service Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and KubernetesService Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and Kubernetes
Sreenivas Makam
 
Squid
SquidSquid
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlation
rahul8590
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
Green Jb
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
Alessandro Arrichiello
 
Unidade3 roteiro proxy
Unidade3 roteiro proxyUnidade3 roteiro proxy
Unidade3 roteiro proxy
Leandro Almeida
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
Sreenivas Makam
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
webhostingguy
 
MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011
Mike Willbanks
 
Squid server
Squid serverSquid server
Squid server
Rohit Phulsunge
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filtering
Conrad Cruz
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)
Conrad Cruz
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with Nginx
Bud Siddhisena
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
The SPDY Protocol
The SPDY ProtocolThe SPDY Protocol
The SPDY Protocol
Fabian Lange
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
Achieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
Achieve Internet
 

Similar to 17937858 squid-server - [the-xp.blogspot.com] (20)

Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hosting
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-server
 
Service Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and KubernetesService Discovery using etcd, Consul and Kubernetes
Service Discovery using etcd, Consul and Kubernetes
 
Squid
SquidSquid
Squid
 
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlation
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
 
Unidade3 roteiro proxy
Unidade3 roteiro proxyUnidade3 roteiro proxy
Unidade3 roteiro proxy
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011MNPHP Scalable Architecture 101 - Feb 3 2011
MNPHP Scalable Architecture 101 - Feb 3 2011
 
Squid server
Squid serverSquid server
Squid server
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filtering
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)
 
Scale Apache with Nginx
Scale Apache with NginxScale Apache with Nginx
Scale Apache with Nginx
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
 
The SPDY Protocol
The SPDY ProtocolThe SPDY Protocol
The SPDY Protocol
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 

17937858 squid-server - [the-xp.blogspot.com]

  • 1. SQUID SERVER: Squid is a high-performance HTTP and FTP caching proxy server. It is also known as a Web proxy cache. It can make your network connections more efficient. As it stores data from frequently used Web pages and files, it can often give your users the data they need without their systems having to look to the Internet. Studies on very busy networks suggest that a Squid server can reduce the size, or bandwidth, of your Internet connection. That can lead to considerable savings for larger offices. Squid uses the Inter-Cache Protocol (ICP) for transfers between participating peer and parent/child cache servers. It can be used either as a traditional caching proxy or as a front-end accelerator for a traditional Web server. STEPS TO CONFIGURE SQUID PROXY SERVER : 1. Configure a TCP/IP for Squid Server : [root@localhost /]# netconfig or system-config-network or setup IP address: ________________ Netmask: ___________ _____ Default gateway (IP): ___________ _____ Primary nameserver: ___________ _____
  • 2. 2. Configure the /etc/squid.conf file : · Change the default port no to 8080 · Create a acl rule under the 127.0.0.01 · Create a http_access allow and deny rule under the http_access [root@localhost /]# vi /etc/squid/squid.conf · Go to the port line : /3128 and change the port #detault: http_port 8080 · Go to the line and create a acl rule: /127.0.0.01 #Recommended minimum configuration: # Near the src acl src section #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 172.16.0.0/255.255.0.0 acl to_localhost dst 127.0.0.0/8 acl yahoo dstdomain .yahoo.com acl gmail dstdomain .gmail.com acl cric dstdomain .cricinfo.com acl CONNECT method CONNECT · Go to the line and allow the rules: /http_access #Recommended minimum configuration: # Only allow cachemgr access from localhost http_access deny yahoo http_access deny gmail http_access allow cric http_access allow local Restart the Squid services:
  • 3. [root@localhost /]# service squid restart [root@localhost /]# /etc/init.d/squid restrart On the service of Squid server : [root@localhost /]# chkconfig squid on ON CLIENT SIDE : Configure a TCP/IP for your Lan computers : [root@localhost /]# netconfig or system-config-network or setup IP address: ________________ Netmask: ________________ Default gateway (IP): ________________ Primary nameserver: ________________ Go to the internet explorer Edit -> preferences -> internet connections-. Set the squid server ip address and port no