rapiz1 / rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
Apache License 2.0
9.44k stars 475 forks source link

password protect public access #223

Closed megablocks closed 1 year ago

megablocks commented 1 year ago

Feature Proposed

when accessing public facing url:port, it would be good to password protect the access and if that can be configured in settings Use Case

For when a simple private web service is being forwarded to public port, need some kind of additional authentication

fernvenue commented 1 year ago

As you can see in Out of Scope, Rathole doesn't interface with the application layer protocol, so Rathole will not do that kind of things by itself, and I think Rathole shouldn't do. You can do that on your web application or web server, such as NGINX, Traefik, Caddy, they all based on TCP and UDP, Rathole can handle that.