Squid abandons all sites when creating a proxy server

therefore, I am trying to create a proxy server for my crawler, and I'm not sure why I am being deprived even of myself. When I go to any website in a browser, on the computer on which I installed Squid and all that, it gives me the following error message:

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.whatismyipaddress.com/

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is webmaster. 
Generated Sun, 08 Nov 2015 04:03:13 GMT by WIN-AIUOBK0JHPA (squid/2.7.STABLE8)

I changed my LAN settings in the Internet settings to allow the proxy server with the correct IP address (IPv4 when starting ipconfig), gave it the correct port to open, and I also opened the port in my Windows firewall.

The following are the segments of my squid.conf file:

acl SSL_ports port 443
acl Safe_ports port 80      # http
acl Safe_ports port 21      # ftp
acl Safe_ports port 443     # https
acl Safe_ports port 70      # gopher
acl Safe_ports port 210     # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280     # http-mgmt
acl Safe_ports port 488     # gss-http
acl Safe_ports port 591     # filemaker
acl Safe_ports port 777     # multiling http
acl CONNECT method CONNECT

acl localhost src 192.168.1.0/255.255.255.255 
http_access allow localhost

(skip through some commented out segments....)

http_access allow manager localhost

http_access allow localnet

As you can tell, I removed a lot of unnecessary comments. Down below, I have ...

http_port ####

... line.

, . , , - , , . !

+4
1

http_access allow localhost 
http_access allow localnet 
# And finally deny all other access to this proxy 
http_access deny all

acl localhost src 192.168.1.0/255.255.255.255 

localhost ACL . localhost , ,

acl localnet src 192.168.1.0/255.255.255.255 

IP- IP-, -, src . ips

+1

Source: https://habr.com/ru/post/1614916/


All Articles