Skip to content

jugglerchris/tcp_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0ddd35 · Jul 22, 2024

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple TCP Proxy

The motivating use case is a hosting provider which requires you to run a backend server (such as a Python site using gunicorn) behind their HTTPS proxy; but requires that your server listens on an external IP address/port.

This doesn't seem ideal (e.g. harder to trust the proxy headers), and gunicorn doesn't support an allow list; so this proxy simply listens on an address/port but drops any connection not from a list of allowed peers.

About

Simple TCP proxy with IP allow list.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages