Previously let us discuss a little what is squid according to wikipedia.
Squid is a daemon that is used as a proxy server and web cache. Squid has many types of uses, ranging from speeding up the web server by caching repetitive queries, DNS caching, web site caching, and computer search caching to a group of computers using the same network resources, to helping with security how to do filtering (filter) traffic. Although often used for HTTP and FTP protocols, Squid also offers limited support for several other protocols including Transport Layer Security (TLS), Secure Socket Layer (SSL), Internet Gopher, and HTTPS. The Squid 3.1 version includes IPv6 protocol support and Internet Content Adaptation Protocol (ICAP).
Squid was originally developed by Duane Wessels as "Harvest object cache", which is part of the Harvest project developed at the University of Colorado at Boulder. Further work is done through to completion at the University of California, San Diego and funded through the National Science Foundation. Squid is now almost exclusively developed by way of voluntary efforts.
Squid is generally designed to run on UNIX-like operating systems, although Squid can also run on top of the Windows operating system. Since it was released under the GNU General Public License license, Squid is free software.
Well that's a little explanation about SQUID, let's get back to the point.
Cara Menambah/Mengganti Port Squid Debian 7
- Login to server using bitvise / putty. Make sure the nano text editor is installed. If nano text editor is not already installed, type
apt-get -y install nano - Make sure that the Squid ports you want to add are not used by other applications, such as dropbear, openSSH, OpenVPN, etc., to avoid conflicts. type
netstat -nlpt
to see which ports are running on your server type. nano /etc/squid3/squid.conf
later will appear the scripts as in the picture.
Watch the writing
http_port 8080
http_port 3128
that means my squid is running on that port.
if you want to add another port eg want to run on port
8080,3128 dan 8000.You simply add the 8000 ports by typing
http_port 8000 (in the port suffix) see the picture let me be more clear.and if you want to replace one of the existing ports live just change the number.
When done, press CTRL + X and then type Y and then press enter.- Do not forget to restart the Squid by typing
/etc/init.d/squid3 restart - Check whether squid has been running on the desired port by typing
netstat -ntulp | grep squid .
You will see on whatever port squid is running.
so how to add / replace debian squid port 7. Hope this tutorial can help meet your needs. If there is any question about how to replace the squid port in debian 7, please ask in the comment field below.
Send regards for Success
~ Team kallongnet ~
0 komentar:
Posting Komentar