3proxy Proxy Server on Ubuntu 24.04 LTS
by cloudimg
3proxy tiny proxy server on Ubuntu 24.04, HTTP HTTPS and SOCKS, mandatory auth, per-VM credentials
3proxy is a small, fast and feature rich proxy server that speaks HTTP, HTTPS and SOCKS from a single lightweight daemon. It lets you route outbound web traffic through one controlled gateway, with access control lists, per user authentication and detailed logging. This cloudimg image runs 3proxy 0.9.7, built from the pinned upstream source on Ubuntu 24.04 LTS, ready to use on first boot.
3proxy runs under systemd as an unprivileged system user. It provides an HTTP and HTTPS forward proxy on TCP port 3128 and a SOCKS4/5 proxy on TCP port 1080. Configuration is a single readable text file, so you can add users, tighten access control lists, or widen the allowed client ranges with a quick edit and a service reload.
Security is built in. No default or shared credentials ship in the image: on first boot every VM generates a unique proxy username and password, stores the password as a crypt hash in the proxy config and writes the plaintext to a root only file for the operator. Proxy authentication is mandatory, so anonymous or wrong credential requests are rejected with HTTP 407. Access is restricted by default to loopback and RFC1918 private client ranges, so the image is never an open relay, and the CONNECT method is limited to TLS ports so the proxy cannot be abused to tunnel to arbitrary ports.
3proxy is distributed under the 3proxy Public License Agreement, a permissive BSD-style licence (additionally available under Apache 2.0, GPL and LGPL), free and open source with no per CPU or per deployment fee. cloudimg is not affiliated with or endorsed by the 3proxy project. cloudimg provides packaging, per instance credential automation, a secure default configuration, security patching, and 24/7 support with a guaranteed 24 hour response SLA.