I’ve installed the unofficial Tailscale build for OpenWrt 21.02.3 via
opkg install tailscale
Works great! I’m trying to configure Prometheus monitoring and don’t know how to tell Prometheus what interface Tailscale is using. I see tailscale0 in ifconfig but not in /etc/config/network which I suspect is what Prometheus is using for the node exporter options.
I’ve tried various options in /etc/config/prometheus-node-exporter-lua:
option listen_address ‘{TAILSCALE IP ADDR}’
option listen_interface ‘tailscale0’
…
when listen_interface is lan or loopback I can successfully curl {address}:9100/metrics but I can’t figure out how to access the metrics via tailscale. Suggestions?