- Published on
One of the best ways to be secure while browsing the Internet is by using proxy servers. The proxy server is an important thing to know about nowadays.
A proxy, in the English definition, is the "authority or power to act for another." A proxy server, in the computing context, is a server that acts on behalf of another server, or a user's machine.
By using a proxy to browse the Internet all of the user's Internet traffic appears to come from the proxy server instead of their machine. To set up a free high-speed proxy server all you need is a free tier AWS account.
We will use TinyProxy to setup our server as the Proxy. Tinyproxy: https://tinyproxy.github.io/
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.
We can install TinyProxy via yum command like this article Install Tinyproxy on Centos 7 . However, the TinyProxy version is 1.8.5, it is quite old. I want to use the authentication function BasicAuth so will install from the source code.
Get latest TinyProxy version from Releases page. I use the latest version 1.11.0
c
It requires some Linux packages for compile the TinyProxy from source code.
c
In TinyProxy directory we build the binary files
c
Install the binary. The binary file will be installed to /usr/local/bin/tinyproxy so we need sudo
c
Check version
c
The quickest way to get started is using a minimal config file like the below:
Update the configuration file /etc/tinyproxy/tinyproxy.conf
c
c
Please check the document here for more detail configuration.
We create a system service to keep TinyProxy running more stable.
Create the file named by /etc/systemd/system/tinyproxy.service
sudo vim /etc/systemd/system/tinyproxy.service
c
Enable tinyproxy service from OS start
c
Start the service
c
Check the service status
c
The output should be like
c
From your machine test the proxy by checking your machine IP
c
Tada 🍻 Happy Proxy 🍻
Thank your for reading!
- Published on