Install Tinyproxy on Centos 7

Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems.
Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable.

[code lang=”shell”]
yum install -y epel-release
yum update -y
yum -y install tinyproxy
yum install vim -y
[/code]

vim /etc/tinyproxy/tinyproxy.conf

Search for
[code lang=”shell”]
Port 8888
[/code]

Then
Search for:
[code lang=”shell”]
Allow xxx.xxx.xxx.xxx
[/code]
If you want to let it connect from anywhere then just comment it, but I’m not recommended, because it will allow other user connect in.

To test from the Allowed server to the TinyProxy Server

ssh [email protected] -L 1234:localhost:8888 -N

[code lang=”shell”]
curl -I https://juzhax.com/ –proxy [email protected]:8888
[/code]

Tags:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.