Tinyproxy is a simple, lightweight HTTP/HTTPS proxy server that can be used to improve internet performance and privacy. In this tutorial, we will go through the steps to install Tinyproxy on Fedora Server latest.
Before proceeding with the installation process, make sure that your Fedora Server is updated, and the firewall is enabled.
To start, open the terminal and log in as the root user. We'll need to install some dependencies first to compile and install Tinyproxy. Run the following command to install them on your Fedora Server:
dnf -y install gcc make automake libtool openssl-devel
Now, let's download the latest version of Tinyproxy from the official website: https://github.com/tinyproxy/tinyproxy/releases.
cd /usr/local/src
curl -LJ https://github.com/tinyproxy/tinyproxy/releases/download/1.11.0/tinyproxy-1.11.0.tar.gz -o tinyproxy.tar.gz
tar -xzf tinyproxy.tar.gz
cd tinyproxy-1.11.0
Now that we have extracted Tinyproxy, we will configure it for our installation. We can do this with the following command:
./configure
We're almost there! Now we'll build and install Tinyproxy. Run the following commands to complete the installation:
make
make install
Now that Tinyproxy is installed, we'll make some basic configurations. Here is a sample configuration file that we'll use as a starting point:
cat > /usr/local/etc/tinyproxy.conf << "EOF"
User nobody
Group nobody
Port 8888
Timeout 600
DefaultErrorFile "/usr/local/share/tinyproxy/default.html"
# Logfile
LogFile "/var/log/tinyproxy/tinyproxy.log"
LogLevel Info
# Allow access from all clients
Allow 0.0.0.0/0
EOF
Note: You can modify the above configuration as per your preferences.
Finally, we'll start Tinyproxy with the following command:
systemctl start tinyproxy
If you have firewalld running, you'll need to allow inbound traffic on the Tinyproxy port (8888) with the following command:
firewall-cmd --add-port=8888/tcp --zone=public --permanent
firewall-cmd --reload
Tinyproxy is now up and running on your Fedora Server latest! You can now use a web browser or any HTTP/HTTPS client to connect to your new proxy server at http://your-server-ip:8888
. Enjoy faster and more secure internet browsing.
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!