proxying a service through tailscale
last updated: Oct 20, 2023
- Start up a service serving traffic locally on a port - I started up elk on port 5314
- Install tailscale on the server
- including sign into the tailnet
- proxy via caddy
elk.example.com {
handle {
reverse_proxy <local_host_name>:5314
}
}
and that's it! super easy, very impressive