The original post: /r/selfhosted by /u/yarmak on 2024-12-19 23:31:05.

Let me present dumbproxy project, a nice HTTPS proxy to selfhost. It was already announced on reddit and elsewhere couple of years ago, but it grew bigger since then.

Back then we had just HTTP(S) forward proxy with automatic cert management and basic auth functions. But today a lot has changed.

New features developed recently:

  • HMAC-based basic auth - useful to provide authentication to a fleet of proxy servers without need for them to contact central authority each time to verify credentials.
  • Optional DNS cache.
  • Per-user bandwidth limits.
  • Scripting with JS:
    • Access filters - allows complex request filtering. Usecases may vary from just complex ACL thing to implementation of something like adblockers.
    • Dynamic upstream proxy selection - there is also a lot of interesting usecases varying from simplest like redirecting .onion domain via Tor daemon, to spreading load, balancing with affinity by domain, etc.
  • … some more. See link in the beginning of the post for a complete list of features.

Hope some people will find it useful! Here is a guide how to deploy and try it: https://github.com/SenseUnit/dumbproxy/wiki/Quick-deployment