From 37a0ec7ca500d5236308416a58ae0726948736aa Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Mon, 9 Dec 2024 21:29:56 +0100 Subject: [PATCH] enable management client on port 5252 Ref: https://tailscale.com/kb/1482/client-metrics#collect-metrics --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index e733560..70eecd9 100644 --- a/main.go +++ b/main.go @@ -213,8 +213,9 @@ func tsproxy(ctx context.Context) error { log := logger.With(slog.String("upstream", upstream.name)) ts := &tsnet.Server{ - Hostname: upstream.name, - Dir: filepath.Join(*state, "tailscale-"+upstream.name), + Hostname: upstream.name, + Dir: filepath.Join(*state, "tailscale-"+upstream.name), + RunWebClient: true, } defer ts.Close() -- 2.51.2