First, installation
Installing Tinyproxy
sudo apt-get install tinyproxy-y
After the installation is complete, the proxy service is automatically opened with the root limit, and the default listener 8888
Second, the configuration Tinyproxy
Vim/etc/tinyproxy.conf
1) Modify the Tinyproxy default listening port:
2) Modify the Monitor network card:
If you have more than one network card, you can bind to one of them.
If this line is commented out, Tinyproxy will bind to all current network cards.
3) Modify traffic export:
This allows you to specify a network adapter for outgoing connections.
This is useful for multiple home machines because you want all traffic to be displayed from a specific interface.
4) Modify the network that is allowed to connect (default is 127.0.0.1 only):
Third, restart the Tinyproxy service, make the configuration effective
sudo service tinyproxy restart
Iv. Modifying the client configuration, configuring the Internet proxy
Use Tinyproxy to build proxy HTTP server under Ubuntu