Build an HTTP (S) proxy using Tinyproxy

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.