Tinyproxy is a lightweight HTTP/HTTPS proxy server that can be used to improve network performance by caching frequently accessed content. It's easy to install and configure on Debian and can be used to protect your privacy while surfing the web.
This tutorial will walk you through the steps of installing Tinyproxy on Debian Latest.
Before you begin, ensure that your Debian system is up-to-date by running the following commands:
sudo apt update
sudo apt upgrade
To install Tinyproxy on Debian, run the following command in your terminal:
sudo apt install -y tinyproxy
The above command installs Tinyproxy and all its dependencies.
After the installation is complete, you need to configure Tinyproxy to meet your needs. The main configuration file for Tinyproxy is located at /etc/tinyproxy/tinyproxy.conf
. Open this file using your preferred text editor:
sudo nano /etc/tinyproxy/tinyproxy.conf
By default, Tinyproxy allows connections only from the localhost. If you want to allow connections from other machines, scroll down to the Allow
section in the configuration file and add the IP addresses or subnets that you want to allow. For example, to allow connections from the 192.168.1.0/24 subnet, add the following line:
Allow 192.168.1.0/24
If you want to disable caching in Tinyproxy, set the MaxCachedBytes
parameter to 0 as follows:
MaxCachedBytes 0
Once you are done editing the configuration file, save and close it.
To start Tinyproxy, run the following sudo command in your terminal:
sudo systemctl start tinyproxy
To make Tinyproxy start at boot time, run the following command:
sudo systemctl enable tinyproxy
After following the above steps, you should have a functioning Tinyproxy installation. You can now use Tinyproxy to access the internet through the specified IP addresses or subnets.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!