This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Repository navigation
Tailscale app: honest VPN status, timers, conflict warning, Remote Into a Mac - #59
Merged
Merged
Conversation
…to a Mac - A VPN is Connected only when its tunnel interface is up (found by the VPN's own address), else Connecting, Dropped or Failed with a reason from NetworkManager/pppd/IPsec logs, plus Reconnect. Shows which interface really carries internet traffic (ip route get). - Session timer and bytes down/up for each connected VPN and Tailscale, kept across app restarts, reset on reconnect. - Banner when another tunnel (WiFiman's utun etc.) is up next to a VPN or knocked it off. - Remote Into a Mac: the BFS Mac mini and online Macs with Screen Sharing (Remmina vnc://) and Copy ssh; Turn On Tailscale when it is off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owner feedback: no reliable status, wants a timer like other VPN apps, and needs to reach the Mac mini. This morning WiFiman's own WireGuard tunnel (
utun) knocked BFS off while NetworkManager still said BFS was "activated".ppp0) or by device (WireGuard). Otherwise: Connecting… (spinner), "Dropped: on, but not carrying any traffic", or "Failed: ". The reason comes from recent NetworkManager/pppd/IPsec log lines, or names the other app that took over. Dropped and Failed get a Reconnect button. "Internet traffic now goes through …" usesip route get 1.1.1.1, so policy routing (WireGuard's table 51820) is included. Refreshes every 3 s and on network changes.sessions.json, keyed by tunnel ifindex, so a reconnect resets the timer).remmina -c vnc://<tailscale-ip>, with Copy ssh. Offers Turn On Tailscale when it's stopped, and the Remmina install command when it's missing (it isn't installed on the laptop yet).Checked: 8 unit tests (nmcli active parsing, failure reasons, address→tunnel mapping), clippy clean. Fixture renders of the healthy and conflict scenarios are in the README. A render against the real machine shows BFS and WiFiman both up, traffic through utun, the banner, and Tailscale off. Installed and restarted by PID.
🤖 Generated with Claude Code