Set Squid Agent to appear the connection is reset, this is because you on the website of the keyword is qiang cause your ip+ corresponding proxy port is blocked, causing the connection to be closed directly.
So we just use squid encryption to block the keyword. Start squid here, let's talk about opening squid htps_port.
Cooperating with Stunnel (forwarding HTTP unencrypted HTTP packets to HTTPS encryption)
Use squid and stunnel to encrypt squid to prevent GFW from losing squid with keywords
1. Turn on squid
2./etc/squid/squid.conf
Add Https_port 443 (whatever port) cert=/etc/squid/yao.com.crt Key=/etc/squid/yao.com.key
3. HNAIR.COM.CRT and Hnair.com.key are used to generate digital certificates and keys for encryption using OpenSSL, for the method of generating their own digital certificates, refer to the following: (the process will be prompted to enter some certificate required password, email province, etc.)
Cd/etc/squid/
OpenSSL req-new > YAO.COM.CSR
OpenSSL rsa-in privkey.pem-out Yao.com.key
OpenSSL x509-in hnair.com.csr-out yao.com.crt-req-signkey yao.com.key-days 3650
Re-start Squid
4.stunnel
ftp://ftp.stunnel.org/stunnel/
Download the corresponding version of Stunnel
Unzip or install the corresponding Stunnel package, add a configuration file (stunnel.conf) to the directory of the program:
Client = yes
[Ssl2http]
Accept = 127.0.0.1:8080
Connect = 216.218.186.2:443
To remove duplicate port settings
5. Configure proxy 127.0.0.1:8080 in the browser
OK can use the
About VPS Build squid appear connection reset solution