Now that Render offers static outbound IPs out of the box, I’d like to host my own proxy service in Render. Something like Fixie or Quotaguard, but self-hosted.
Any suggestion on what software to use? I’m reading about mitmproxy and it looks like a good fit, it can be deployed using Docker and seems fairly easy to set up and use.
Update: on a first attempt, mitmproxy can’t be deployed to Render as it needs an interactive terminal. Unless I’m missing something here…
==> Starting service...
usermod: no changes
Error: mitmproxy's console interface requires a tty. Please run mitmproxy in an interactive shell environment.
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/mitmproxy/master.py", line 80, in run
await self.running()
File "/usr/local/lib/python3.11/site-packages/mitmproxy/tools/console/master.py", line 207, in running
sys.exit(1)
SystemExit: 1