Skip to content

Reverse proxy exposed as a Tailscale Funnel Endpoint

License

Notifications You must be signed in to change notification settings

nvdnc/ts-funnel-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-funnel-proxy

This is a very minimal HTTP reverse proxy that exposes your upstream over a Tailscale Funnel.

Usage

To expose an HTTP server running on localhost:8080 over a Tailscale Funnel, run the following command:

export TS_AUTHKEY=xxyyzz
ts-funnel-proxy -upstream http://localhost:8080 -ts-hostname example-hostname

Notes

  • If not specified, the default Tailscale hostname is my-funneled-service.
  • Specify TS_AUTHKEY as an environment variable to prevent Tailscale from asking for interactive auth. To prompt for interactive auth, the tsnet module will log a login URL to the console.

Alternatives

  • Tailscale Caddy
    • "This plugin is still very experimental." -The README
    • Once this matures we'll likely switch to this, but in the meantime it wasn't quite working for us.

LICENSE

This project is licensed under the MIT License.

See LICENSE for details.

About

Reverse proxy exposed as a Tailscale Funnel Endpoint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages