OpenDMG
LanGuard icon

LanGuard for Mac

Automatically turns Wi-Fi off when a wired connection is active, and back on when unplugged.

By roypadina. Free and open source, MIT licence.

Get it with OpenDMG View source on GitHub

LanGuard at a glance

Version
1.4.3
Released
24 November 2026
Download size
2.8 MB
Works on
Apple silicon and Intel
Licence
MIT
Category
Menu Bar and Notch
Developer
roypadina
GitHub stars
31

About LanGuard

Free macOS menu-bar app: Wi-Fi off when you plug in Ethernet, back on when you unplug. Wake-aware, per-interface, no admin by default; optional no-drop hand-over keeps connections alive.

Screenshots

LanGuard screenshot 1LanGuard screenshot 2LanGuard screenshot 3LanGuard screenshot 4

How to install LanGuard on a Mac

  1. Get OpenDMG. It is a free app store for open source Mac apps. Download OpenDMG.
  2. Search for LanGuard and press Get. OpenDMG downloads version 1.4.3 from roypadina's own GitHub release.
  3. Open it. The download is checked against its SHA-256 fingerprint and its signature is checked on your Mac before it lands in Applications.

Updates to LanGuard show up in OpenDMG and install with one button. No account is needed.

Prefer to do it by hand? The developer's file is on GitHub: LanGuard.zip (2.8 MB).

What is new in LanGuard 1.4.3

SHA-256: 804a6d92a1d4fa52d687f5d31f40ae22839108a379271578a8d6f2d6d660ac14

### Fixed
- Sleeping again within a few seconds of waking no longer causes a spurious Wi-Fi toggle and banner after the next wake. (#35, thanks @amaury-d)
- If macOS refuses to turn Wi-Fi off after you plug in the LAN, LanGuard no longer says it did: no "Wi-Fi off" banner, and the menu shows "Couldn't turn Wi-Fi off". (#36, thanks @amaury-d)
- If Wi-Fi can't be turned back on after you unplug the LAN, a "Couldn't turn Wi-Fi on" banner tells you, instead of a "Wi-Fi on" banner.

More Menu Bar and Notch apps

All Menu Bar and Notch apps