web analytics

Posts Tagged ‘proxy’

Squid3 configuration for multiple ip adresses and users with basic http auth, transparent proxy

Written by config on . Posted in CentOS, Linux, Ubuntu

Advertisement

So for example you’ve decided to setup squid and you would like to let your users connect and authenticate via simple http auth and you also would like each user to use different ip address. How can you achieve that with squid3?
I’m going to show you a very simple squid configuration that will let you to setup the proxy in a few minutes on your own machine and let your users use dedicated ip. In this example I’m configuring squid to be transparent and use non standart port so that when someone will try to probe your user ip it won’t find squid easily on its default ports listening. That is how they will know your user is using a proxy.
The example shown here tested on Ubuntu Server 12.04 but I guess it will work on any other linux distribution as long as you installed Squid3

Setting up Squid Proxy server on RHEL 5 / CentOS 5 linux

Written by config on . Posted in CentOS, Linux

Proxy is one of the major component of adding security to the network. It also acts as a Gateway that receives the request from the clients and then validates it, when it is fine it forwards it to the destination server.

Squid is one of the most popular Open Source Proxy server and a Web Cache Daemon.

It has the wide variety of features from:

1. Speeding up a web server by caching repeated requests.

2. Caching Web, DNS, and other lookups.

3. Controlling bandwidth, Access controlling, etc.

This article explains how to setup Squid Proxy server in your RHEL 5 / CentOS 5 in a easy step-by-step procedure.