# Tinyproxy

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon for POSIX operating systems.

Canonical page: https://ourlocalhost.com/app/8826/tinyproxy

## Description

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon for POSIX operating systems. It forwards web traffic on behalf of clients while using minimal system resources, making it ideal for embedded deployments, small networks, and homelab setups where a full-featured proxy like Squid would be too heavy. It supports access control rules, filtering of allowed ports, and buffering of server responses to improve performance on slower client connections. It is released under the GNU GPL (version 2 or above).

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

74/100 (Good), based on 4 of 5 factors.
- Maintained: 95 (last commit 2 days ago)
- Popular: 76 (6,072 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 77 (no serious findings, CI, tests, OpenSSF Scorecard 5/10)

## Links

- Official website: https://tinyproxy.github.io/
- GitHub: https://github.com/tinyproxy/tinyproxy

## Common questions

### Why do I get a 403 'Access denied' or 'Unauthorized connection' error from Tinyproxy?

Tinyproxy only accepts connections from IPs listed with Allow lines in the config (like 127.0.0.1 or your LAN subnet). If your client's IP isn't matched by an Allow rule, requests are rejected; add an Allow line for your network or subnet.

### How do I add password protection to Tinyproxy?

Uncomment the BasicAuth line in the config file and set your own username and password. This makes the proxy require a login prompt, useful if it's reachable from outside your home network.

### How do I restrict which destination ports clients can reach through the proxy?

Uncomment the ConnectPort lines in the config to whitelist allowed destination ports (typically 443 and 563). Without any ConnectPort directive, all ports are open through the proxy, so it's recommended to set them unless you want to restrict users.

### Why do my IPv6 connections fail when using the Allow directive?

There is a known issue where the Allow directive causes problems for IPv6 connections, for example on dual-stack networks. Affected users have reported it with Tinyproxy 1.8.4; you may need to ensure your Allow rules cover the IPv6 addresses or disable IPv6.

### How do I compile Tinyproxy with optional features like domain filtering or transparent proxying?

Run ./configure with the appropriate flags before make, e.g. --enable-filter for domain/URL filtering, --enable-transparent for transparent proxying, --enable-reverse for reverse proxying, and --enable-upstream for chaining through another proxy. If building from a git checkout, run ./autogen.sh first to generate the configure script.

### Does Tinyproxy support caching of responses?

Tinyproxy buffers server responses to relay them to clients at the client's maximum speed, but it does not provide a content cache for static assets. Users wanting caching for slow remote servers have looked for other solutions because Tinyproxy doesn't offer it.

## Alternatives

- AdGuard: AdGuard is the best way to get rid of intrusive ads and online tracking, and to protect your computer from malware.
- BunkerWeb: BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Fossorial Pangolin: Open-source identity-based remote access platform using WireGuard, offering unified management, tunneled connections, granular access contr…
- Haproxy: HAProxy is a TCP proxy and a HTTP reverse proxy.
- Nginx Proxy Manager: Nginx Proxy Manager is a self-hosted reverse proxy and web server that lets you expose home or small-office applications to the internet wi…
- Squid: Squid is a self-hosted caching web proxy, available as a Helm chart, that stores copies of frequently requested pages.
- Træfik Proxy: The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- npmplus: NPMplus is an improved fork of Nginx Proxy Manager that provides a web interface for managing reverse proxy rules, SSL certificates, and ap…
- zoraxy: Zoraxy is a free, open-source, general-purpose reverse proxy and TCP/UDP forwarding tool for home servers and homelabs.

---
Source: Our Local Host (https://ourlocalhost.com/app/8826/tinyproxy), the self-hosted and open-source app directory.
