How To Use Squid Proxy Server In Windows
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more than. Squid has a multifariousness of uses and advantages such as speeding upwardly web browsing for the end user, reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. It also can work as web filtering and tin command the browsing traffic.
Squid is based on the Harvest Cache Daemon adult in the early on 1990's. It was one of two forks from the codebase after the Harvest project ran to completion.
Installation of Squid Proxy
one. Download the Squid proxy for windows from the squid.acmeconsulting.it/index.html and excerpt the zip file . In this post, I cull to excerpt information technology to the folder "C:\Squid"
Launch the 'Squid' proxy setup from Windows >> Click 'Next' and consummate installation :
2. Rename the files in folder C:\Squid\etc of squid files by removing " default"
Annotation: Squid.conf is the default configuration file and do the changes on that file. By defaul,t the squid using the port 3128 and we can change the port number on the configuration file.
iii. Creating the swap directory
> Open the command prompt on the machine and change the directory :
# cd c:\squid\sbin
Once inside the binder delight enter below command
# squid -z
four. Install Squid equally a Window Service
Run the below control for install the Squid every bit windows services
# squid -i
5. Start and stop for the squid services
We tin offset/stop the squid service from service.msc past clicking 'Squid' under the 'Services'
vi. Setup the windows firewall for squid proxy
In guild to access the squid proxy server, needs to open the port in windows firewall for that please follow the below steps,
>> Select the option "Windows firewall with Advanced Security"
>> Click the 'Inbound Rules' and select the 'New Dominion' under the action
>> Then the select the option 'Port' as the type of dominion
>> Next page enter the Port number for squid services and follow every bit beneath :
Select TCP and Provide 3128 virtually 'Specific local ports'
Under 'Actions' tab select 'Allow the connection'
Under 'Profile' tab, select 'Domain' , 'Public' , 'Private'
Nether 'Proper noun' provide 'squid_services'
7. Calculation multiple IP'due south with different port
Nosotros can configure the multiple IP's with a different port number. First, we need to open up the port in the firewall (please use the above procedures). After that open the squid configuration file and the below line on the elevation of that
http_port 45.XX1.1XX.2XX:3129
acl myip_45.XX1.1XX.2XX myip 45.XX1.1XX.2XX
tcp_outgoing_address 45.XX1.1XX.2XX myip_45.XX1.1XX.2XX
http_access permit myip_45.XX1.1XX.2XX
http_port 45.XX1.1XX.2XX:3130
acl myip_45.XX1.1XX.2XX myip 45.XX1.1XX.2XX
tcp_outgoing_address 45.XX1.1XX.2XX myip_45.XX1.1XX.2XX
http_access allow myip_45.XX1.1XX.2XX
Then, save the configuration files and restart the squid service.
If you would rather take an adept server admin install it for you lot, contact SupportPRO team
Source: https://www.supportpro.com/blog/squid-proxy-installation-in-windows-server/
Posted by: herreramodyette60.blogspot.com
0 Response to "How To Use Squid Proxy Server In Windows"
Post a Comment