{"id":18951,"date":"2016-04-14T09:50:52","date_gmt":"2016-04-14T14:50:52","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18951"},"modified":"2022-06-03T03:43:39","modified_gmt":"2022-06-03T08:43:39","slug":"install-and-configure-tinyproxy","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-and-configure-tinyproxy\/","title":{"rendered":"How to install and configure Tinyproxy on Ubuntu 14.04"},"content":{"rendered":"
In this tutorial, we will show you how to install and configure Tinyproxy on an Ubuntu 14.04 VPS. Tinyproxy is a small and fast HTTP\/HTTPS proxy server and it is very easy to install and use. It is an ideal solution when a HTTP\/HTTPS proxy is required, but but resources for a larger proxy such as Squid are unavailable. There are a number of reasons why a HTTP\/HTTPS proxy is useful, but the main one is to access the Internet using a different IP address. Some of the key features of Tinyproxy include: Anonymous mode, Access control, Small footprint, Proxy chaining, Remote monitoring, HTTPS support and Small footprint. <\/p>\n It’s always recommended to update your package repository cache before installing new packages.<\/p>\n Tinyproxy can be installed from the default Ubuntu repositories with:<\/p>\n Once the installation is complete, open the Tinyproxy configuration file with your editor of choice:<\/p>\n The default port number is set to 8888, but you can change it to whatever you like. In most cases, the default port number does not need to be changed. Please note that if you want to run your Tinyproxy server on a port lower than 1024 you will need to start Tinyproxy using root.<\/p>\n By default Tinyproxy will only accept connections from 127.0.0.1. Scroll down to the authorization controls section and add your local computer’s IP address to the allow list:<\/p>\n If you do not know your computer’s IP address, open your web browser and navigate to All other default settings should be fine.<\/p>\n Save the configuration and restart the service.<\/p>\n Setting up a daily cron job will prevent memory leaks. That\u2019s it. You have successfully installed Tinyproxy on your Ubuntu 14.04 VPS. For more information about Tinyproxy, please refer to the official Tinyproxy <\/a> website.<\/p>\n If you are using Firefox, open the Firefox menu in the top right corner, go to Options -> Advanced -> Network and click on the Connection Settings button. This will open the Connection Settings window. Select the Manual proxy configuration radio button. In the HTTP Proxy field, enter the IP Address of your Tinyproxy Server, and the Tinyproxy Port Number (8888) in the Port field.<\/p>\n You can also use some proxy plugins such as FoxyProxy<\/a> for Firefox or Proxy SwitchySharp<\/a> for Google Chrome to configure your browser network proxy settings.<\/p>\n Now, if you navigate to Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24×7 and will take care of your request immediately.<\/p>\n PS<\/strong><\/span>. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial, we will show you how to install and configure Tinyproxy on an Ubuntu 14.04 VPS. Tinyproxy is … <\/p>\n
\nThis guide should work on other Linux VPS<\/a> systems as well but was tested and written for an Ubuntu 14.04 VPS<\/a>.<\/p>\nLogin to your VPS<\/h4>\n
ssh user@vps_IP<\/pre>\n
[user]$ sudo apt-get update<\/pre>\n
Install and Configure Tinyproxy<\/h4>\n
[user]$ sudo apt-get install tinyproxy<\/pre>\n
[user]$ sudo nano \/etc\/tinyproxy.conf<\/pre>\n
Allow 127.0.0.1\r\nAllow your.local.ip.address\r\n<\/pre>\n
http:\/\/ipinfo.io\/ip<\/code>. Copy and paste the IP address shown at this site into the Tinyproxy configuration file.<\/p>\n
[user]$ sudo \/etc\/init.d\/tinyproxy restart<\/pre>\n
Setup a cron job<\/h4>\n
\nUse the command crontab -e<\/code> to edit the crontab file and add the following line:<\/p>\n
0 2 * * * \/etc\/init.d\/tinyproxy restart<\/pre>\n
Browser Configuration<\/h4>\n
http:\/\/ipinfo.io\/ip<\/code>, you will see your Tinyproxy server IP address.<\/p>\n
\n