About Privoxy
Privoxy is a GPL-2.0-or-later proxy between browsers and the web that rewrites page data and HTTP headers to remove ads, trackers and other junk. Action and filter files decide what happens, down to blocking one domain or dropping cookies for a single site.
On a CloudSat VPS it gives all your devices the same filtering through one proxy address, and forward-socks5 chains it to SOCKS servers such as Tor. An open proxy is quickly found and abused, so keep it bound to localhost and reach it over an SSH tunnel or WireGuard.
Privoxy listens on port 8118 and reads its settings from /etc/privoxy/config.
What you get with Privoxy
- Ad and tracker blocking by URL pattern
- Header filtering for cookies, referrers and user agents
- Content filters that rewrite page HTML
- Per-site actions with your own overrides
- Forwarding to HTTP or SOCKS proxies, including Tor
Privoxy use cases
- Filter ads for phones and laptops through one proxy
- Give a browser an HTTP proxy that forwards into Tor
- Strip tracking headers for a scraper or test client
After you deploy Privoxy
- When the console lists Running, SSH in and confirm that
listen-addressin/etc/privoxy/configstays on127.0.0.1:8118. - On your computer, open a tunnel with
ssh -L 8118:127.0.0.1:8118 root@<server IP>and set the browser's HTTP proxy to127.0.0.1:8118. - Visit
http://p.p/through the proxy to confirm it works and review the active actions. - Add your own rules to
user.action, then apply them withsystemctl restart privoxy.
Privoxy ports
Open these in your firewall if you use one: 8118/tcp Privoxy (localhost only).
Privoxy FAQ
Does Privoxy filter HTTPS sites?
By default it sees only the host name of HTTPS connections, so it can block domains but not rewrite encrypted pages. HTTPS inspection needs a TLS-enabled build and your own CA certificate.
Can I share my Privoxy with friends?
Only with access control: permit-access rules plus a CloudSat firewall that admits their IPs. Otherwise the server becomes an open proxy for anyone.
Disclaimer. The Privoxy project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.