How does a proxy end up open?
Almost never on purpose. Common causes are a Squid config copied from a tutorial with http_access allow all, a SOCKS daemon started for a quick test and left listening on every interface, an nginx block that forwards arbitrary hosts because someone used proxy_pass http://$http_host, or a container that publishes port 3128 or 1080 to the world. The service works perfectly for its owner, which is exactly why nobody notices that it also works for everyone else.
Why are open proxies found so quickly?
Scanners sweep the whole IPv4 space continuously, and well-known proxy ports such as 3128, 8080, 8888 and 1080 are among the first they try. A newly opened relay can show up in public proxy lists within hours. From there it gets used for credential stuffing, comment spam, ticket and sneaker bots, ad fraud, scraping that ignores robots rules, and attacks that need to hide their source. None of that traffic carries the attacker's address; it carries yours.
What happens to the owner of an open proxy?
- Abuse reports: sites that are attacked complain to the network owner of the source address, and those complaints arrive at your account.
- Blocklists: the address lands on reputation lists, so mail from it gets rejected and some services serve it captchas or refuse it.
- Traffic and CPU: relayed downloads count against the monthly outgoing allowance, and thousands of concurrent connections can starve your real workload.
- Legal exposure: logs of serious attacks point to your machine first, and you have to show that you were not the source.
Since a machine has exactly one public IPv4, a damaged reputation follows that address until you clean it up.
How do I test whether my server is an open proxy?
From a computer that is not on an allowed list, try to fetch an outside page through each listening port:
ss -ltnp | awk 'NR==1 || /:(1080|3128|8080|8118|8888)\s/'
curl -s -m 8 -x http://203.0.113.71:3128 http://example.org/ -o /dev/null -w '%{http_code}\n'
curl -s -m 8 --socks5-hostname 203.0.113.71:1080 http://example.org/ -o /dev/null -w '%{http_code}\n'
curl -s -m 8 -H 'Host: example.org' http://203.0.113.71/ | head -c 300
A 407 or a refused connection is good news. A 200 with someone else's content means the relay is open. The last line checks whether your web server forwards requests for hosts it does not serve.
How do I close it?
Pick the layer that fits, and ideally use two:
# Squid: deny unless authenticated or from your office range acl office src 198.51.100.0/24 http_access allow office http_access deny all # bind a SOCKS service to localhost and reach it through SSH ssh -N -L 1080:127.0.0.1:1080 admin@203.0.113.71 # firewall: only the office may reach the proxy port nft add rule inet filter input ip saddr != 198.51.100.0/24 tcp dport 3128 drop
For nginx, never build an upstream from the client's Host header; list the backends you mean to serve. Our nginx reverse proxy in Docker guide shows a fixed upstream setup.
What if my machine was already used as a relay?
Shut the port first, then look at the proxy access log to estimate how long it was open and what it carried. Rotate any credentials stored on the box, since an attacker who found one open door may have tried others. Check the address against public reputation lists and use each list's delisting form once the relay is closed. If the misuse was severe or you are unsure the system is clean, reinstall from the panel with a fresh image and restore data from backups; a clean install on the S2 or any other model takes minutes once started.
How do I stop it happening again?
Treat every new listening port as public until proven otherwise. A default-deny firewall policy, where only the ports you list are reachable, turns a careless test daemon into a harmless one. A weekly ss -ltn check, or a scan of your own address from a second machine with nmap -Pn --top-ports 200 203.0.113.71, catches services you forgot about. When you run containers, remember that published ports can skip host firewall chains on some setups, so publish to 127.0.0.1 explicitly, for example -p 127.0.0.1:3128:3128, and put a reverse proxy or SSH tunnel in front.
How does this relate to fair use?
Running an unauthenticated relay is treated like running the abuse yourself, because to the rest of the internet it is indistinguishable. Authenticated proxies for your own team are fine; see Anonymous Proxy for a closed setup and the fair use rules linked below for the limits.
Machines Often Used for Team Proxies
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| E1 | Intel Xeon E3-1240 v3 | 4 / 8 | 16 GB DDR3 | 2x 240 GB SSD | 2x 1 Gbps | $30.52 | $91.56 (3 months) |
| S1 | Intel Xeon E-2276G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $53.32 | $53.32 (1 month) |
| S2 | Intel Xeon E-2356G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $58.39 | $58.39 (1 month) |
Keep Reading
Anonymous Proxy
A proxy that hides the client address from the sites it visits, the anonymity levels behind the label, and what it means for server operators.
OpenProxy server
A server that sits between clients and destinations and forwards their traffic, in forward or reverse form, for control, caching or privacy.
Opennginx reverse proxy in Docker
Run nginx in a container as the front door for other containers, route by host name, pass real client IPs and add TLS.
OpenThe ss command
List sockets fast with ss: listening ports, filters by state, port and address, TCP internals like RTT, summaries and killing stuck sockets.
OpenFAQ
Quick Answers
A proxy server that relays traffic for anyone without authentication or address limits. It is usually the result of a configuration mistake.
Often within hours, because automated scanners probe common proxy ports across the entire IPv4 range all the time.
From an outside computer, request a third-party page through each proxy port with curl. A successful response means the relay is open.
Only if it forwards to upstreams built from request data such as the Host header. A fixed list of upstreams keeps it closed.
Close the relay, confirm the system is clean, then request removal through each list operator. Most delist within a day or two once abuse stops.