.
.
.
.
.
.
.
.
.
.

Free Counters

Selasa, 31 Mei 2011

UBUNTU SERVER: UBUNTU 10.04 SQUID PROXY

Squid adalah proxy caching server yang dapat memberikan peningkatan kinerja untuk HTTP, HTTPS dan FTP . Squid will cache commonly accessed sites so that it can improve performance by 10-20% for Internet connections. cache Squid akan sering diakses situs sehingga dapat meningkatkan kinerja dengan 10-20% untuk koneksi internet.
Squid is compliant to the Harvest Cache architecture and uses the Inter-Cache Protocol (ICP) to transfer data between peer and /parent/child servers. Squid ini telah memenuhi persyaratan untuk arsitektur Cache Panen dan menggunakan Protokol Inter-Cache (ICP) untuk mentransfer data antara peer dan / orang tua / server anak. Squid can accelerate traffic from the inside network to the Internet or it can be employed to act as a front-end accelerator for a Web server, increasing access to the web pages on the server. Squid dapat mempercepat lalu lintas dari jaringan di dalam internet atau dapat digunakan untuk bertindak sebagai akselerator front-end untuk server Web, meningkatkan akses ke halaman web pada server.
Here is what Squid can do: Berikut adalah apa Squid dapat dilakukan:

1.Accelerate Internet Connections for Internal Network 1.Accelerate Sambungan Internet untuk Jaringan Internal
2.Protect the Internal Network When Surfing the Internet 2.Protect Jaringan Internal Ketika Surfing Internet
3.Create Detailed Information About User Activity on the Internet 3.Create Detil Informasi Tentang Aktivitas Pengguna di Internet
4.Prevent Inappropriate Activity by Users on the Internet 4.Prevent tidak pantas Kegiatan oleh Pengguna di Internet
5.Enforce Use by Authorized Users Only 5.Enforce Gunakan oleh Pengguna Resmi Hanya
6.Filter Sensitive Material 6.Filter Bahan Sensitif
7.Accelerate Web Server Pages 7.Accelerate Halaman Web Server
Live Ubuntu Ubuntu Program atau Online Kursus yang tersedia.
Squid acts both as a proxy, working in behalf of a user, and as a cache. Squid bertindak baik sebagai proxy, bekerja di nama pengguna, dan sebagai cache. When squid works as a proxy and a user makes a request for a web site, squid retrieves the web page and then provides it to the user. Ketika bekerja squid sebagai proxy dan pengguna membuat permintaan untuk situs web, cumi mengambil halaman web dan kemudian menyediakan kepada pengguna. The user, in reality never reaches the Internet as the proxy server retrieves and caches all the sites the user makes requests for. Pengguna, pada kenyataannya tidak pernah mencapai internet sebagai mengambil server proxy dan cache semua situs user membuat permintaan.
Install and Start Squid Instal dan Start Squid
Ubuntu now installs squid 2.7 as the default which is focused on high-performance with features aimed at high traffic volume. Ubuntu sekarang menginstal squid 2.7 sebagai standar yang difokuskan pada performa tinggi dengan fitur bertujuan volume lalu lintas tinggi. This is in contrast to the other option squid 3.0 which has a greater focus on web filtering. Hal ini berbeda dengan squid 3.0 pilihan lain yang memiliki fokus yang lebih besar di web filtering. Be sure that any modifications you make are viewed as version specific. Pastikan bahwa modifikasi yang Anda buat dipandang sebagai versi tertentu.
sudo apt-get install squid sudo apt-get install squid
Start / Stop / Restart Start / Stop / Restart
Because squid is now integrated with upstart the best way to control squid is using these commands: Karena squid sekarang terintegrasi dengan pemula cara terbaik untuk mengendalikan squid menggunakan perintah ini:
start squid mulai cumi
stop squid berhenti cumi
restart squid restart squid
Important Locations Lokasi Penting
Once you install Squid, you will need to be familiar with these locations that are important for Squid. Setelah Anda menginstal Squid, Anda akan perlu akrab dengan lokasi-lokasi yang penting untuk Squid.
/etc/squid config directory / Etc / squid direktori config
/etc/squid/squid.conf squid configuration file / Etc / squid / squid.conf file konfigurasi squid
/usr/share/doc/squid documentation and examples / Usr / share / doc dokumentasi / squid dan contoh
/usr/lib/squid support files / Usr / lib / file dukungan squid
/usr/sbin/squid squid daemon / Usr / sbin daemon / squid squid
/var/log/squid log directory / Var / log / squid direktori log
/var/spool/squid cache directory / Var / spool / squid direktori cache
Basic Squid Configuration Konfigurasi Dasar Squid
The complete configuration file is found at /etc/squid/squid.conf. File konfigurasi yang lengkap ditemukan di / etc / squid.conf squid /. However, since the Squid configuration file has over 4960 lines it is not the easiest to work with. Namun, sejak file konfigurasi squid memiliki lebih dari 4960 baris itu bukan termudah untuk bekerja dengan. A basic configuration of Squid only needs one modification, if you are using private networks. Sebuah konfigurasi dasar dari Squid hanya membutuhkan satu modifikasi, jika Anda menggunakan jaringan pribadi.
The hostname is automatically discovered by squid, however if you want to set a specific name you can use visible hostname. Nama host secara otomatis ditemukan oleh squid, namun jika Anda ingin menetapkan nama tertentu, Anda dapat menggunakan nama host terlihat.
visible_hostname myserver visible_hostname myserver
The only line that must be set is to create a http_access variable that will allow users on the internal network to access the Internet. Garis-satunya yang harus ditetapkan adalah untuk menciptakan sebuah variabel http_access yang akan memungkinkan pengguna di jaringan internal untuk mengakses Internet. The line should look something like this: Jalur ini harus terlihat seperti ini:
http_access allow localnet http_access memungkinkan LAN
This line needs to be placed in a specific location, included in the example is the line number so it is easier to locate, note that the localhost is configured to work by default. Baris ini perlu ditempatkan di lokasi tertentu, termasuk dalam contoh adalah nomor baris sehingga lebih mudah untuk menemukan, perhatikan bahwa localhost dikonfigurasi untuk bekerja secara default.
677 http_access allow localhost 677 http_access allow localhost
678 http_access allow localnet 678 http_access memungkinkan LAN
This is possible because the default settings now include these three private networks. Hal ini dimungkinkan karena pengaturan default sekarang termasuk tiga jaringan pribadi.
acl localnet src 10.0.0.0/8 src 10.0.0.0 / 8 acl LAN
acl localnet src 172.16.0.0/12 src 172.16.0.0/12 acl LAN
acl localnet src 192.168.0.0/16 acl LAN src 192.168.0.0/16
Once you have set this up restart squid with the following command. Setelah Anda telah mengatur hal ini restart squid dengan perintah berikut.
restart squid restart squid
squid start/running, process 13551 mulai squid / berjalan, proses 13.551
Here is a tutorial with additional information on Squid ACLs Berikut adalah tutorial dengan informasi tambahan tentang ACL Squid
Point your browsers from those internal machines to the squid proxy . Anda Point browser dari mesin-mesin internal ke proxy squid . Several points to note about the proxy settings. Beberapa hal yang harus diperhatikan tentang pengaturan proxy. The default port that you will connect to is 3128 and set squid to use all protocols. Port default yang Anda akan terhubung ke adalah 3128 dan set squid untuk menggunakan semua protokol. Once that is set you should have Internet access. Setelah itu membuat Anda harus memiliki akses Internet.

Ubuntu 10.04 Squid Proxy 273x300 UBUNTU SERVER : UBUNTU 10.04 SQUID PROXY
Ubuntu 10.04 Squid Proxy 10.04 Ubuntu Squid Proxy
You will need to configure your firewall. Anda perlu mengkonfigurasi firewall anda. Limit access so that clients can only go through port 3128. Batasi akses sehingga klien hanya dapat pergi melalui port 3128. This will force them to use the proxy which will provide speed, save resources and protect your internal machines. Hal ini akan memaksa mereka untuk menggunakan proxy yang akan memberikan kecepatan, menghemat sumber daya dan melindungi mesin internal Anda.
Here is an example of allowing an entire subnet. Berikut adalah contoh dari seluruh memungkinkan suatu subnet.
ufw allow proto tp from 192.168.4.0/24 to any port 3128 UFW memungkinkan tp proto dari 192.168.4.0/24 ke port 3128

Tidak ada komentar:

Posting Komentar

Pengikut

free counters

SMS Gratis