Running your own proxy server makes sense when several machines need one exit, one set of rules or one place to keep a login. The usual names are Squid, Tinyproxy, 3proxy, Privoxy and, on Windows, CCProxy. All are forward proxies, but they are built for different jobs. We ran the four that work on Linux and macOS side by side and measured them.
The short answer
- Squid for caching, detailed access rules and many users.
- Tinyproxy for a small HTTP and HTTPS proxy with a login and a parent proxy.
- 3proxy when you need HTTP and SOCKS5 from one small program.
- Privoxy for filtering ads and headers on your own machine.
- CCProxy for sharing a connection from a Windows PC with a graphical interface.
Test results
We used dummy logins and local test servers, then sent one real request through each to a German residential exit:
| Squid 7.8 | Tinyproxy 1.11.3 | 3proxy 1.0.4 | Privoxy 4.2.0 | |
|---|---|---|---|---|
| Memory, idle | 142 MB | 2 MB | 2 MB | 1 MB |
| Memory, 200 open tunnels | 148 MB | 5 MB | 18 MB | 10 MB |
| Accepts SOCKS5 clients | No | No | Yes | No |
| Login for clients | Yes | Yes | Yes | No |
| HTTP parent with login | Yes | Yes | Yes | No |
| SOCKS5 parent with login | No | Yes | Yes | Yes |
| Adds a Via header | Yes | Yes | No | No |
| Reached the German exit | Yes | Yes | Yes | Yes |
All four handled 200 tunnels at once. The memory gap is mostly design: Squid is a full caching server, and it took 142 MB even with caching turned off for the test. For a small virtual server that only forwards traffic, that difference matters.
The Via header tells a website that a proxy handled the request, though only on plain HTTP. Inside an HTTPS tunnel the proxy cannot add headers. Our explainer on transparent, anonymous and elite proxies covers what such headers reveal. Squid has via off and Tinyproxy has DisableViaHeader Yes.
Forwarding to a residential proxy
A common setup is a local gateway: your machines connect to it without a login, and it adds the login for a residential proxy. The password then lives in one file instead of every script. These are the lines that matter, in the form we tested.
Squid, in squid.conf:
http_port 127.0.0.1:3128
http_access allow localhost
http_access deny all
cache deny all
cache_peer p.shifter.io parent 443 0 no-query default login=USERNAME-country-de:PASSWORD
never_direct allow all
Do not skip never_direct allow all. It is what stops Squid from going out from your own IP address.
Tinyproxy, in tinyproxy.conf:
Port 3128
Listen 127.0.0.1
Allow 127.0.0.1
Upstream http USERNAME-country-de:PASSWORD@p.shifter.io:443
3proxy, in 3proxy.cfg:
fakeresolve
auth iponly
allow *
parent 1000 connect+ PARENT_IP 443 USERNAME-country-de PASSWORD
proxy -i127.0.0.1 -p3128
socks -i127.0.0.1 -p1080
Privoxy, in its config file, through SOCKS5:
listen-address 127.0.0.1:3128
forward-socks5 / USERNAME-country-de:PASSWORD@p.shifter.io:443 .
These files now hold a password, so make them readable only by the account that runs the proxy, and keep them out of version control.
Three traps we hit
3proxy can leak DNS. With a plain connect parent, 3proxy looked up the website’s name itself and sent the parent an IP address. With connect+ and fakeresolve, as its manual requires, it passed the name on. The same difference exists in client libraries, as our test of Python proxy URLs showed. We gave 3proxy the parent’s IP address, because fakeresolve is meant to stop local name lookups.
Privoxy’s HTTP forward has no login. Its documented syntax for an HTTP parent is a host and a port. When we added a username and password there, requests failed with “No such domain”. The SOCKS5 forward line accepts a login and worked.
Squid builds can go wrong. Our first build of Squid on macOS rejected every correct password. Its log complained about invalid Base64, and a rebuild without the Nettle library fixed it. Distribution packages should spare you this, but if Squid refuses a password you know is right, test the helper on its own and read the log before changing your rules.
Where CCProxy fits
We did not test CCProxy, because it runs on Windows only. According to its maker, Youngzsoft, it supports HTTP, HTTPS, FTP and SOCKS4/5, seven types of account authentication including username and password, bandwidth control, web filtering and a parent proxy. The free version supports up to three users and is for personal and family use only.
Two cautions. Its download page names Windows 10 as the newest supported version, so check it on Windows 11 before relying on it. And unlike the other four, it is proprietary, so you depend on the vendor for fixes.
Do not run an open proxy
The biggest risk with any of these is not performance. A proxy that accepts connections from the whole internet without a login will be found and used by strangers, and the traffic will carry your IP address.
- Bind it to
127.0.0.1or a private network address, never to every interface by default. - Allow only the client addresses that need it, in the proxy and in the firewall.
- Add a login if more than one person can reach it. Privoxy cannot do this, so keep it on one machine.
- Check from outside your network that the port is closed.
Also remember that Basic logins to these proxies travel unencrypted unless you add TLS or a tunnel.
Which one to choose
For a gateway in front of a residential proxy, start with Tinyproxy: it is small, has a login and takes an HTTP or SOCKS5 parent in one line. Choose 3proxy if some clients speak only SOCKS5. Choose Squid when you need rules per user, per site and per time of day, or want to cache. Choose Privoxy to clean up browsing on your own computer.
None of them gives you new IP addresses. They forward traffic, and the exit is either your own connection or the parent you configure. If you only need one script or browser to use a proxy, you do not need a server at all; our guide to HTTP and SOCKS5 proxies helps you pick a protocol and connect directly.
How we tested
On 2 December 2026 we compiled the official source releases on an Intel Mac with macOS 15.8, checking each download against its published or packaged checksum. Every listener was bound to 127.0.0.1. Memory is the resident memory of the server and its child processes, idle and with 200 open CONNECT tunnels that had each carried one request. Squid ran with cache deny all and otherwise default memory settings. Local logging proxies recorded which logins and hostnames reached the parent. The real requests went to an IP lookup service over HTTPS. Figures on Linux will differ, and we did not measure speed.
The bottom line
Tinyproxy is the best default for a small forwarding gateway, 3proxy adds SOCKS5 clients, Squid earns its memory when you need caching or fine-grained rules, and Privoxy is a personal filter. CCProxy is the Windows option for a home or small office. Whichever you run, bind it privately, require a login where you can, and make sure it can only leave through the parent you chose.
Sources and references
- Squid, cache_peer directive: squid-cache.org
- Tinyproxy: tinyproxy.github.io
- 3proxy: github.com
- Privoxy 4.2.0 user manual, configuration: privoxy.org
- CCProxy, features and downloads: youngzsoft.net, youngzsoft.net