Setup TinyProxy Server on any of the cloud platforms (Azure, AWS, GCP) on Ubuntu. TinyProxy is a light-weight HTTP/HTTPS proxy daemon, great for cloud environments in supporting both cloud and hybrid networks. Tiny Proxy is an Efficient HTTP/SSL proxy. One of the key features of Tinyproxy is the buffering connection concept. In effect, Tinyproxy will buffer a high speed response from a server, and then relay it to a client at the highest speed the client will accept.
- Light weight proxy. Runs on small VM
- Allows forwarding of HTTPS connections
- Transparent proxy
- Reverse proxy
- Add/insert HTTP headers to outgoing traffic
- Easy to modify
- Privacy features
- Remote monitoring facility
- Access control
- One of the key features of Tinyproxy is the buffering connection concept
- Anonymous mode
- Very secure
- URL based filtering
- Proxy chaining
Getting Started with TinyProxy
Once your TinyProxy server has been deployed, the following links explain how to connect to a Linux VM:
- How to connect to a Linux VM on Azure
- How to connect to a Linux VM on AWS
- How to connect to a Linux VM on GCP
Once connected and logged in, the following section explains how to start using Tiny Proxy.
Tinyproxy uses a configuration file stored in the following location:
To open the tinyproxy config file, run the following command:
sudo nano /etc/tinyproxy/tinyproxy.conf
The Tinyproxy configuration file contains key-value pairs, one per line. Lines starting with `#` and empty lines are comments and are ignored. Keywords are case-insensitive, whereas values are case-sensitive. Values may be enclosed in double-quotes (“) if they contain spaces.
The possible keywords, their descriptions and proxy configuration options can be found on Tinyproxy documentation.
To check the status of Tinyproxy service run the following command:
sudo systemctl status tinyproxy
To restart the service run:
sudo systemctl restart tinyproxy
TinyProxy Firewall Ports
You can configure any port to use on Tinyproxy. Remember to open any ports if you are using any firewalls or cloud security groups.
If you are using any of the cloud security groups and need to change / add ports refer to the following guides:
To setup AWS firewall rules refer to – AWS Security Groups
To setup Azure firewall rules refer to – Azure Network Security Groups
To setup Google GCP firewall rules refer to – Creating GCP Firewalls
Disclaimer: Tinyproxy is made available under an GNU GPL V2.0 license. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.