Setting up ubuntu 10.04 (Lucid) server with squid as a Transparent Proxy For Smart Connection

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

Installing squid proxy on smart connection

- connect you smart modem

- setting your adapter for internet sharing

i get ip 192.168.137.1 so client dhcp on 192.168.137.0/24

- Change the network interfaces from dhcp to static

sudo nano /etc/network/interfaces

auto eth0
iface eth0 inet static
        address 192.168.137.14
        netmask 255.255.255.0
        network 192.168.137.0
        broadcast 192.168.137.255
        gateway 192.168.137.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.137.1

-  Install Web Admin (webmin)

edit source list nano /etc/apt/sources.list

deb http://download.webmin.com/download/repository sarge contrib

deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

 

cd /root

wget http://www.webmin.com/jcameron-key.asc

apt-key add jcameron-key.asc

apt-get update

apt-get install webmin

- install squid

sudo apt-get install squid3

 

- setting your squid proxy

set port : i am use 3139 if your want default click default port

set memory useg : i am use 256  mbs

Create Proxy redirection

add proxy redirection

all = allow

if you all connection allow proxy useg

 

and start proxy squid

- setting your browser proxy to ip pc squid proxy

- cek with tail -f /var/log/squid/access.log

if proxy work like this result

 

Have nice try,

smart modem can to be speedy speed lol

:D

Enter your email address:

 

Baguzajja[dot]Info

↑ Grab this Headline Animator

free website stats program

Web Reference - Business Directory - Related Articles - Sitemap