Back to services

Tinyproxy

Light-weight HTTP/HTTPS proxy daemon.

View alternatives to Tinyproxy
Suggest edit
Open source
Self-hostable
GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the official website this time. The content below is based on existing knowledge of the project, so please refer to the official website and the project repository for specific details.

Introduction

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon written in C. It is open source under the GPL-2.0 license and runs on POSIX systems such as Linux and BSD. It is designed to be small, fast, and light on resources. A full-featured proxy server (such as Squid) is too heavy for some scenarios, and in those cases Tinyproxy is a simple and easy-to-use choice.

Key Features

  • HTTP/HTTPS proxy: Forwards HTTP requests and supports HTTPS tunneling through the CONNECT method, with the option to restrict which ports connections are allowed on.
  • Access control: Use Allow / Deny rules to restrict which clients can use the proxy by IP or subnet. HTTP Basic authentication is also supported.
  • Upstream proxies: Can forward requests to an upstream HTTP or SOCKS4/SOCKS5 proxy, and can choose different upstreams based on the destination domain.
  • Reverse proxy: Can map specific paths to backend servers.
  • URL / domain filtering: Allows or blocks access according to a filter list, which can be used for simple content control.
  • Anonymous mode: Filters request headers and keeps only the ones you specify, reducing the leakage of client information.
  • Transparent proxy: Combined with firewall rules, clients can go through the proxy without any configuration.
  • Statistics page: Includes a simple built-in page showing runtime status statistics.

Target Users and Use Cases

  • Operators who need to set up a lightweight proxy on a router, embedded device, or small VPS
  • Small teams or home users who want to provide a unified egress proxy for machines on an internal network
  • Developers who need to forward or inspect HTTP traffic in test environments
  • Users who need to chain proxy requests to an upstream SOCKS/HTTP proxy

Core Strengths

  • Very low memory and CPU usage, suitable for resource-constrained environments
  • A concise configuration file that is quick to get started with
  • A mature and stable project, included in the software repositories of major Linux distributions
  • Free and open source, so it can be audited and customized

Installation and Deployment

On most distributions, you can install it directly with the package manager:

# Debian / Ubuntu
sudo apt install tinyproxy

# Fedora / RHEL family (may require EPEL)
sudo dnf install tinyproxy

Building from source:

./autogen.sh
./configure
make
sudo make install

The configuration file is usually located at /etc/tinyproxy/tinyproxy.conf, and the default listening port is typically 8888. After changing the configuration, restart the service for it to take effect, for example sudo systemctl restart tinyproxy.

Technical Requirements

  • A POSIX-compatible operating system (Linux, BSD, etc.)
  • Building from source requires a C compiler and the autotools toolchain

Notable Characteristics

  • It is not a caching proxy by itself and has no caching features like Squid; its focus is on forwarding and access control
  • When deploying on the public internet, be sure to configure Allow rules or authentication; otherwise it becomes an open proxy and can be abused by others