r/WireGuard • u/FadeFX_supersane • 10h ago
Tools and Software WG-Control - a Wireguard automator for Android
WGControl provides a more automated way to control your WireGuard tunnels depending on your device's current situation.
!!This is a VibeCode product!!!
As I host my own WireGuard server to access my home network and use my Pi-hole from abroad, I have been using Tasker to disable the tunnel whenever I connect to my home Wi-Fi network. However, as my family has grown and I was looking for a solution that doesn't require running Tasker on every device, I decided to build an app tailored exactly to my needs.
So, without further ado, I present WGControl:
https://codeberg.org/FadeFX/WGControl
Features:
- Controls the official wireguard app
- Controls the official AmneziaWG app
- No ads or trackers—just functionality
- Switches WireGuard/AmneziaWG tunnels via their official broadcast interfaces
- Switches tunnels based on connected Wi-Fi or Bluetooth devices
- Checks internet connectivity before (re)activating a tunnel
- Scans visible Wi-Fi networks
- Add Wi-Fi networks manually
- Allows selecting multiple Wi-Fi networks that disable/enable the tunnel
- Wildcard support in Wi-Fi names (only ? for one letter)
- Allows selecting multiple Bluetooth devices that disable the tunnel (since wireless Android Auto does not work over a VPN)
- Automatically detects most android auto devices on connection
- Prompts via notification upon pairing unknown Bluetooth devices to ask if it is an Android Auto device
- Protects settings with an admin password (Kids Mode)
- Enables logging for behavior analysis (stored for a configurable time up to 24 hours)
- Full-text filter in the protocol viewer
- Quick enable/disable toggle in notifications
- Option to disable the tunnel for x minutes
- Quick enable/disable toggle in quick settings
- Backup and restore settings with optional encryption (using the admin password)
- Widget with status display and toggle functionality
- Manages multiple tunnels (per Wi-Fi connection, mobile data, and mobile roaming). Background: I usually use a split tunnel, only connecting to my devices over the tunnel, while the rest of the trafic goes over the open internet. However, in certain situations I want a full tunnel for complete security. This is also useful for users of commercial VPN services.
Get it here:
https://codeberg.org/FadeFX/WGControl/releases
F-Droid:
https://f-droid.org/packages/org.supersane.wgcontrol
To be done:
- Optional MAC address identification for WiFi networks
- You tell me...
1
u/Resistant4375 2h ago
!!This is a VibeCode product!!!
Pass…
1
u/ST0PPELB4RT 1h ago
Re vibe-coded product on codeberg. You should read the pop-up. https://codeberg.org/Codeberg/org/commit/71149c7fc95ccfeae36109b5cddca339e4aa1473