In tianchao, website access is not smooth enough for several days every month, you know. Although Google Translate can be used to handle the issue, it is not 100% valid. For example, I encountered a problem when I recently accessed wireshark.org.
Fortunately, we can build an HTTP (S) proxy. There are many HTTP (S) proxy software available on the market. We will use Tinyproxy. We chose Tinyproxy because it is simple, small, and requires no excessive configuration.
Install Tinyproxy
In Debian, run the following command to install Tinyproxy:
Apt-get install tinyproxy
Configure Tinyproxy
The configuration file of Tinyproxy is located by default./Etc/tinyproxy. conf. Here, you can configure the port number (8888 by default), timeout, maximum allowed client, and so on. If you want to access the proxy server from any locationAllowComment out the rows.
Note that after the configuration is updated, the reload service will take effect. In addition, if the iptables firewall is enabled, add the following rules:
Iptables-I INPUT-p tcp -- dport 8888-j ACCEPT
Browser settings
Take Firefox as an example. In "Preferences> advanced> network> Settings", select "manual proxy configuration" and enter the Server IP address in "HTTP proxy, enter 8888 in "Port" and click OK.
Build an HTTP Proxy Server Based on TinyProxy