Jasa Setting Proxy High Perfomance

Di Jamin Youtube tercache & Game online terupdate cepat
  • Pelatihan & Setting On the site
Mobile Phone:085868788968
Pin BB:52595EA2

DP minimal 30 % dari harga mobil baru atau bekas. Syarat untuk karyawan/pns: Fotokopi KTP pemohon, Kartu Keluarga, Rincian Gaji, Rekening Listrik, Surat/Akta nikah, Telepon, PDAM, PBB, Rekening Tabungan & NPWP
Syarat untuk wiraswata:Plus SIUP/TDP, Laporan keuangan terakhir
Contact Person : Eka (082227594993)
Pin BB : 52595EA2

Jasa Pembuatan RT RW Net dan Warnet

Modal Hanya 5 JT-an..!!!


=>Radio Access Point TP-LINK

=>Antena OMNI


=>Kabel UTP 25 meter

=>CPU P3 Mikrotik 2nd, CPU Dual COre Proxy Server 2nd dan Tower 3 Pipa Galvanis


=>Lebih Murah dalam 1 paket komplit

=>RT/RW-Net Siap Pakai

=>PJK akan membantu promosi

Call/SMS = 085868788968
Pin BB :52595EA2

Sewa/Carter Mobil Dalam Kota / Luar Kota (Se-Jawa) + Sopir.
Hubungi: Eka HP: 085868788968 / 082227594993
Pin BB : 52595EA2
Jl. Akasia Raya No.5 Perumahan Kalisalak Batang
Jl. Trapesium 3 No.15 Perumahan Limas Indah Pekalongan


Hubungi :

Mobile Phone:085868788968
Pin BB:52595EA2

About Me

My photo

I was born on 11th July 1978 in Pekalongan,Central Java Province,Indonesia.I have been running my own business (Putra Jaya Komputer) for mor 15 years in Pekalongan city and Batang Regency. On 2014 I am starting a new business is a rent a car. If any one who has a plan to visit Indonesia don't hesitate contact me.

Popular Posts

Home » » Ubuntu - Installing an HTTP proxy server (Squid)

Ubuntu - Installing an HTTP proxy server (Squid)

1.Installing the proxy

To install Squid type the following command in a terminal:

sudo aptitude install squid

2.Configuring the proxy

Configuration of Squid is done through the editing of the following file: /etc/squid/squid.conf
To edit this file ,type Alt+F2 and enter the following command:

gksu gedit /etc/squid/squid.conf

2.1.Naming the proxy

Its important that Squid knows the name of the machine. To do this, locate the line visible_hostname.
For example, if the machine called ubuntu insert:

visible_hostname ubuntu

2.2 Choosing the Port

By default, the proxy server will use port 3128. To choose another port, locate the line:

http_port 3128

and change the port number, for example:

http_port 3177

2.3.Choosing the interface

By default the proxy server will listen on all interfaces. For security reasons, its better to put in on your local network only.
For example, if the network card connected to your LAN, has IP, change the line:


2.4. Setting access rights and priorities

By default, nobody is allowed to connect to the proxy server. (Only from your machine itself)
A list of permissions must be created.

For example, we will define a group encompassing the local network.

Find the line beginning with acl localhost...
At the end of the section, add:

acl lanhome src

(lanhome is a random name chosen).

2.5. Authorizing access to group

Now that the group is defined, we will authorize to use the proxy.
Locate the line http_access allow ...
and add below (before the line http_access deny all):

http_access allow lanhome

2.6. Allow the use non-standard ports

By default, Squid allows HTTP traffic only on specific ports (80, etc.).

* This can cause problems on websites using other ports.
* Example: http://toto.com:81/images/titi.png will be blocked by Squid.
* To avoid this deadlock, find the line:
o http_access deny! Safe_ports
* and the edit it to:
o # http_access deny! Safe_ports

3.Starting the Proxy

Restart the proxy to take apply the modifications you made. Type:
sudo /etc/init.d/squid restart

From there, the proxy should work based upon your requirements. Just configure the software using the proxy and all should run smoothly.

Server logs

The proxy logs are located in: /var/log/squid/access.log
Changing the size of the cache

* The Squid cache is enabled by default, which helps accelerate the loading of some pages.
* The default allocated size is 100 MB(found in /var/spool/squid)
* To change its size,edit the /etc/squid/squid.conf file.
* Find the line:
o # cache_dir ufs /var/spool/squid 100 16 256
* Edit it. You can change the value 100 by what you want (eg 200 for 200 MB):
o cache_dir ufs /var/spool/squid 200 16 256

Functions and additional modules

Squid is full of options and modules:

* Prefetch (to preload the pages and speed up navigation).
* Antivirus filters, AntiPopUp, etc..
* Access control via proxy login and password.
* Access control based upon hours.

To do this, open Synaptic, and click on Search and enter squid to find the modules related to Squid.
Consult the documentation for each module and the Squid manual for more information.