living-room-tvOn WireGuard from 🇬🇧 203.0.113.216:569096.7 GB today↓ 2.6 MB/s
macbook-proOn WireGuard from 🇸🇪 192.0.2.112:491527.15 GB today↓ 2.2 MB/s
guestOn WireGuard from 🇺🇸 198.51.100.161:64666720 MB today, 72% of 1 GB a day↓ 66 KB/s
Point at one to find it on the left.
Script aloneVPN Sync
Who's connectedwg show, one serverLive, by name, with country and speed
Data per deviceNot countedToday and this month
Too much dataRevoke itA limit that alerts or pauses
New deviceSSH, script, copy a fileOne name, every VPN, a QR code
Server gets a new IPEvery profile breaksServer and Mac fix theirs; rescan on phones and TVs
Another portEdit it all by handOne sheet
A network blocks a VPNGuess whichSays which is probably blocked, and what works
Lost phoneRevoke, make a new oneNew keys, settings kept
Second serverSecond terminalSame window
Try it here
A toy copy of the Mac app. Pause a device or all of Alex's, set a limit, add one.
What it does
9
Tokyo5 on
Frankfurt2 on
Oregon2 on
Every server, one menu
All of them in one window and the menu bar.
macbook-pro🇸🇪 WireGuard2.1 MB/s
living-room-tv🇬🇧 WireGuard2.6 MB/s
ipad🇯🇵 WireGuard, just now640 KB/s
Live view
Who's on OpenVPN and WireGuard, from where, how fast.
2.6 MB/s310 KB/s
Traffic
Speed now, data per device, a month of days.
guest
of 1 GB a dayPaused
Usage limits
Daily or monthly. Alert at 80% and 100%, or pause too.
pixel-8.ovpn
pixel-8.conf
vless://…
Devices and profiles
One name adds it to every VPN, with a file or a QR code.
OpenVPN TCP11944431194
Server
Firewall
Lightsail
Profiles
Ports
Move OpenVPN or WireGuard in one step, or give OpenVPN a second port for clients to try.
OpenVPNTCP 443answers
WireGuardUDP 51820probably blocked
RealityTCP 8443answers
Blocking alerts
A real handshake to each VPN port, outside the VPN. It says which is probably blocked and which still works.
What the network sees
https://
PhoneTokyo
VLESS + Reality
Looks like a visit to an ordinary HTTPS site, so it’s hard to block. XHTTP gives each device a second link, for networks that cut the first.
Hysteria2
Shadowsocks 2022
TUIC v5
AmneziaWG
AdGuard Home
fail2ban
Security updates
TCP BBR
Netdata
Swap file
Your own script
Add-ons
More VPNs and services, or your own script, shown to you before it runs. Hysteria2 can hop between ports.
RunningStopped198.51.100.24203.0.113.77
Data this month1.27 of 2 TB
AWS Lightsail
Stop and start, static IP, snapshots, and the month’s data allowance.
CPU14%
Memory45%
Disk19%
38 ms94 Mbit/s31 Mbit/s
Health and upkeep
CPU, memory and disk with alerts, a speed test, pending updates, newer server tools, and new versions of Xray and sing-box, undone if a VPN doesn't come up.
Alexalex-iphone, macbook-pro60 of 100 GB
Living roomliving-room-tv20 Mbit/s
kids-tablet07:00-21:00off hours
People and rules
A person's devices share one limit and one Pause. Labels, a speed cap and internet hours per device.
WireGuardconnects, goes silent4 of 5 times
OpenVPNTCP 443works
RealityTCP 8443works
What works on each network
Remembers 7 days, so a VPN that connects and then goes silent is named, with what to use instead.
opens once
24 hours
English, 中文
One-time setup link
A page with the profiles, QR codes and what to install. Opened once, then gone.
$ vpn-sync status tokyo5 online, 1 pausedguest 73% of 1 GB today
Command line too
Most of it is also a vpn-sync command, with tab completion. vpn-sync doctor checks the whole setup and says what to fix.
Usage and limits count OpenVPN, WireGuard, Reality and AmneziaWG, not Hysteria2, Shadowsocks or TUIC; a pause covers those too. AmneziaWG needs Ubuntu 22.04 or newer. Hysteria2 and TUIC can't be checked for blocking. Removing an add-on takes out what it installed and restores the settings it changed. Lightsail charges for snapshots, and going back to one is done by hand in its console. Every detail is in the guide.
When a server comes back on a new IP
Without a static IP, a Lightsail server gets a new address when you stop and start it. Then:
Your MacIts copies still point at the old address.
Found 203.0.113.77 through Lightsail
Pulled 9 fresh profiles to the Desktop
Updated OpenVPN Connect
Phones and TVs: scan the new QR code
At work
How each device connects, how fast, and its limit.Speed, the month's data allowance and server health.Every connect, disconnect and limit, newest first.Every server at a glance, from the menu bar.More VPNs and services, next to what's there.What a sync would change, before it runs.
Demo mode: the servers, devices and addresses are made up.
The same servers, on your phone
Talks to your servers itself, so the Mac can stay off.
Pause, limit, add and remove devices
Show a QR code, or share a profile
Ports, data allowance, server health, speed test
Checks for blocked VPNs when you open a server
Check Profiles after an IP change
Shortcuts and Siri: who's online, pause a device
A second way in when a network cuts SSH
Stop and start a Lightsail server
Set up with one encrypted file from the Mac; include the Lightsail key in it for the Lightsail features. Face ID locks it.
How it fits together
Pick a tool on the server to see what it does.
The installs stay as the scripts left them. VPN Sync adds small tools beside them.
Install
On your Mac
Needs Xcode 26 or later, or its Command Line Tools, to build.
git clone https://github.com/HenryCooper86/vpn-sync.git
cd vpn-sync
./install-mac.sh
Open VPN Sync, Add Server…, then Set Up…. It keeps your install, or makes a fresh one.
On your iPhone
Open ios/VPNSyncPhone.xcodeproj in Xcode, put your team in ios/Local.xcconfig and run it on your phone. Then on the Mac: Settings → iPhone → Export for iPhone…
Free Apple IDs need a reinstall every 7 days.
Try it without a server
demo/run-mac-demo.sh
Made-up servers. Your real ones aren't touched.
Your servers, your keys
SSH to your own servers, host keys pinned
No account with us, no server of ours, no telemetry
It also uses Lightsail, GitHub and public IP-lookup services; the guide lists them
Flags from an offline table; no device address is looked up online