Guide – How To Start – TinyProxy Server on Linux CentOS 8.2 on Amazon

TinyProxy Server on Linux CentOS 8.2 is a light-weight HTTP/HTTPS proxy daemon for Unix operating systems. Designed 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.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

Configuration and connection to TinyProxy – Auth Proxy Server on Centos 8.2

  1. To start the server, you just need to start the VM through Azure Portal.
  2. To connect to the VM, you should generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3)

Guide – How To – Create and use Key Pair to connect to a VM

  1. Download and run Putty
  2. Go to the “SSH” section in the left panel and then to “Auth”.
  1. In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  2. Go to the home page of “Session”, enter the IP address of the VM and click “Open”.
  1. In the opened console you will need to enter the login centos
  1. To use a proxy, you should configure login and password for the connection (or use the standard ones that were generated while creating a VM), which can be found by running the following command:
    > cat /etc/tinyproxy/credentials
  2. To change a user, or add a new one, you should open the configuration file and enter the data in the form “BasicAuth login password”. To do this, enter the following command:

> sudo vi /etc/tinyproxy/tinyproxy.conf
In order to go to the desired line, use the arrows on the keyboard. To create a new line press the “O” button on the keyboard. When creating a line you will be switched to the editor mode immediately, which you can also enter using the “I” button..

  1. In order to finish file editing press the “Esc” key (to leave editor mode) and enter the next command “:wq” (colon is a part of a command, it should be entered necessarily)
  1. Restart the proxy server service for the changes to take effect. To do this, enter the command:
    > sudo systemctl restart tinyproxy
  2. To use the proxy server through the built-in Windows tools, you must open the settings
  1. In Settings select Network & Internet
  1. Go to the “Proxy” section and set the “Use a proxy server” switch to On
  2. In the Address field, enter the address of the VM, and in the Port field, specify 8888. Then click the Save button.
  1. To check the connection to the proxy server, open the website in any browser and check if your IP address has changed.

Website Built with

Up ↑

%d bloggers like this: