Skip to content
HenryCooper86Public

About

See and control your own VPN servers from your Mac and iPhone: OpenVPN, WireGuard, VLESS + Reality, AmneziaWG and Hysteria2. Who's online, limits and rules per device or person, which VPN a network blocks, one-time setup links, updates and encrypted backups.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

English | 简体中文

VPN Sync

VPN Sync

See and control your own VPN servers from your Mac and iPhone.
OpenVPN, WireGuard and VLESS + Reality. Free and open source.

Features · Screenshots · Install · First steps · Guide · Website

VPN Sync on the Mac and iPhone

A one-command installer gets a VPN running in minutes. After that it's SSH and a text menu: you can't see who's connected, how much they use, or which profile is out of date. VPN Sync keeps the install you have, or makes a new one, and puts every server and device in one window.

What you get

See Who's online, on which VPN, from which country, how fast, and how much data each device used. A 24-hour report of connects, drops and why
Control Add and remove devices on every VPN at once, set data limits and a last day per device or person, internet hours and a speed cap per device, pause a device, restart a VPN
Profiles QR codes and files for each device, rewritten by the server when its IP changes. One subscription address per device for the link VPNs, a one-time setup link, and profiles with Chinese sites direct
Blocked networks Finds out which VPN your network blocks, and which one still works. Remembers what worked on each network. Adds VLESS + Reality (with XHTTP), AmneziaWG, Hysteria2 (with port hopping), Shadowsocks 2022 or TUIC
Server care CPU, memory and disk, with alerts, also sent by the server itself. Updates its own tools, Xray and sing-box. Encrypted backups on a schedule, and moving to another server. One-click add-ons: AdGuard Home, fail2ban, security updates, a swap file for small servers. vpn-sync doctor checks the whole setup
AWS Lightsail Start, stop, snapshots, static IP, firewall ports and the monthly data allowance
iPhone The same servers over SSH, with the Mac switched off. Shortcuts and Siri
Terminal The vpn-sync command, for scripts

Every feature in detail: the guide.

Screenshots

Devices Traffic
Devices: who's online, limits and pauses Traffic: speed, data allowance, server health

The iPhone app   A server on the iPhone   A device on the iPhone   What works on each network

More screenshots: add-ons, menu bar, ports, check, activity, people, the 24-hour report
Add a VPN or service Menu bar
Add-ons: more VPNs and services Menu bar: every server at a glance
Change Ports Check
Change Ports: profiles and firewall follow Check: what a sync would change
Activity People
Activity: connects, disconnects, limits People: one limit for all of someone's devices
The 24-hour report
24-hour report: connects, drops and why

All servers, devices and addresses shown are made up.

Install

Mac, macOS 14 or later. Building it needs Xcode 26 or later, or its Command Line Tools:

git clone https://github.com/HenryCooper86/vpn-sync.git
cd vpn-sync
./install-mac.sh

iPhone, iOS 17 or later: put your team in ios/Local.xcconfig (DEVELOPMENT_TEAM = …), open ios/VPNSyncPhone.xcodeproj in Xcode and run it on your phone. With a free Apple ID, reinstall it every 7 days.

Server: Ubuntu, Debian, AlmaLinux, Rocky, CentOS or Fedora, with SSH and sudo. The Mac installs what's needed.

Just looking? demo/run-mac-demo.sh runs the app on made-up servers and leaves your own alone.

First steps

  1. Add Server…: its address, SSH user and key.
  2. Set Up…: keep the VPNs it has, or install new ones.
  3. Add Device: scan its QR code, or import its file from the Desktop.
  4. iPhone: on the Mac, Settings → iPhone → Export for iPhone…, then open the file on the phone.

Good to know

  • Private: it talks to your servers over SSH with pinned host keys. No account with us, no telemetry. What else it contacts
  • Limits count OpenVPN, WireGuard, Reality and AmneziaWG data, not Hysteria2, Shadowsocks or TUIC. Pause covers those too.
  • After an IP change, phones and TVs need their profile again. A static IP avoids that.
  • Removing a device revokes its OpenVPN certificate, which can't be undone. The apps ask first.
  • Something doesn't work? vpn-sync doctor checks this Mac and every server, and says what to fix and how.
  • IKEv2 (IPsec) is no longer supported. If your server still runs it

Learn more

Guide Every feature, settings, the Lightsail key, the command line, how it works
iPhone app Design and security notes
Website Try a toy copy in your browser

Built on Nyr's installers, Xray, sing-box, swift-nio-ssh, Lucide and ip-location-db. MIT licence; the software it installs keeps its own.

About

See and control your own VPN servers from your Mac and iPhone: OpenVPN, WireGuard, VLESS + Reality, AmneziaWG and Hysteria2. Who's online, limits and rules per device or person, which VPN a network blocks, one-time setup links, updates and encrypted backups.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages