banner



How To Install Squid Proxy On Windows

Loading...
X

How to install Squid proxy on Windows

Squid is a high performance caching proxy for spider web clients supporting FTP, gopher, ICAP, ICP, HTCP and HTTP data objects. Squid reduces network bandwidth, data transfer and improves response times by caching and reusing ofttimes requested spider web pages. Squid has extensive access control and is a dandy server accelerator. It runs on most of the available operating systems, including Windows, and is licensed under the GNU GPL.

Squid proxy official website: http://www.squid-cache.org

Squid can be compiled and run on Windows as a system service using the Cygwin emulation environs, or it can be compiled in Windows native mode using the MinGW + MSYS development environment. Windows NT iv SP4 and subsequently are supported.

Known Limitations

  • Squid features that don't work on Windows:
  • DISKD: however needs to be ported
  • Transparent proxy: missing non-commercial intercept driver for Windows
  • WCCP: These features take not been ported. Without transparent proxy support, this is not necessary.
  • SMP support: Windows equivalent of UDS sockets is not implemented
  • Sure sections of lawmaking can make blocking calls.
  • Some external helpers may not work.
  • The number of file descriptors is strictly limited to 2048 when building with MinGW.
  • Squid-3.x of all official releases has serious build issues.

Squid prebuilt binaries for Windows

This is the easiest style to get Squid on Windows: open source project https://github.com/diladele/squid-windows provides Windows MSI installer files for Squid Proxy Server. It makes it possible to install Squid in just a few clicks. The electric current build is based on the latest Squid iv.14 build for Cygwin nether Windows 64 scrap.

To download the installer, go to the website: https://squid.diladele.com/ and click the link "MSI installer for SQUID FOR WINDOWS".

Run the downloaded file with a double click and follow the prompts of the installer.

Immediately afterwards the installer completes, an icon will appear next to the clock to control the Squid service:

When you lot click on it, the following options will be available:

  • Open Squid Configuration
  • Open Squid Binder
  • Start Squid Service
  • Stop Squid Service
  • About
  • Exit

The path to the configuration file in Windows: C:\Squid\etc\squid\squid.conf. Keep this in listen, equally all subsequent sections will prove the setup using a Linux example.

For the changes fabricated in the configuration file to have effect, y'all need to restart the Squid service, to practise this, stop and start it again.

The Squid service volition automatically get-go when the estimator is turned on, and for the icon to announced in the tray for managing Squid, yous need to run the file C:\Squid\bin\Diladele.Squid.Tray.exe.

In the config file you lot can see paths similar this: "/cygdrive/d/squid/enshroud". To sympathize them, see How to access disks in Cygwin. In this example /cygdrive/d/squid/cache is D:\squid\cache.

At that place will likewise exist paths like this: /var/enshroud/squid – these are all directories inside the C:\Squid folder. That is, for case, /var/cache/squid is actually C:\Squid\var\cache\squid\.

To check if the Squid service is actually listening on a port to connect, you tin can do the following:

1. Printing Win+x and select "Windows PowerShell (admin)" in the menu that opens.

2. Run the commands in sequence:

cmd for /f "tokens=1,ii,three,4,5*" %i in ('netstat -aon ^| findstr ":3128" ^| findstr /i listening') do echo %j %fifty & @tasklist | findstr %yard

Y'all volition verify that Squid is indeed listening on port 3128.

Call up that if you are using a firewall, then yous need to open the port that the proxy service is listening on, if y'all accept not changed it, and then by default it is 3128.

The following steps are shown using Linux every bit an example, since Squid is much more common on Linux, not Windows. However, you Windows users tin use the following information to configure Squid on Windows. But yous need to go on in mind the post-obit nuances:

1. When the command to open a file is given, you must open your configuration file, the path to which is given just in a higher place.

ii. When it is said that you need to restart the service and the command is given for this, y'all need to open the assistant in the tray and finish, and so outset the service there.

If you are an advanced user, you tin can manage the service from the control line (open with administrator rights):

net stop squidsrv net start squidsrv

See also: How to manage services on Windows

To control the autostart of a service, come across the article "How to disable autostart of programs and services in Windows".

3. Almost likely (I did non bank check) you will non be able to configure authority past login and password on the proxy server, since many (or all) helpers do non work in Windows.

4. In the configuration file, the paths to the files in Linux and Windows may exist the same, since Cygwin emulates the Linux working surround, but double-check.

See also the Squid setup guide: How to create and configure a Squid proxy server

« Fault "Authentication helper program /usr/lib64/squid/basic_ncsa_auth: (two) No such file or directory" (SOLVED)
How to choose an apartment in Thailand to buy: condo up to 900 g baht (less than $29000) »

Source: https://suay.site/?p=1187

Posted by: kleinsenjoyergoo.blogspot.com

0 Response to "How To Install Squid Proxy On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel