安装包图标

WGControl

Automated WireGuard tunnel control via home Wi-Fi and Bluetooth.
新版本 1.47.61910
- New: manage several WireGuard tunnels, with per-Wi-Fi-network assignment ("Configured Networks") and separate default tunnels for Wi-Fi, mobile data, and roaming
- New: home screen widget with status, current network, active tunnel, Bluetooth info, and the same pause buttons as the notification; adapts to widget size (abbreviated labels/icon buttons when narrow), background style and opacity configurable
- Changed: Quick Settings tile long-press now opens the app (Status tab) instead of the sy
WGControl automatically manages your WireGuard tunnel based on your Wi-Fi and Bluetooth connections. It disables the tunnel when connected to your configured home Wi-Fi or selected Bluetooth devices (e.g., Android Auto) and re-enables it upon leaving.

This app is a VibeCode product. I have thoroughly tested all functions and believe everything works reliably.
However, I assume no responsibility for errors, results of errors, or atomic fallout.

Key Features:
- Wi-Fi & Bluetooth Detection: Automatically toggles the tunnel based on home networks or paired Bluetooth devices.
- Real-Time Monitoring: Continuously checks system-level VPN status and enforces the target state.
- Ping Connectivity Check (optional, off by default): Verifies internet availability via ICMP/TCP ping to a configurable host (example.com by default) before re-enabling the tunnel.
- Notification Pause Buttons: Manually override the tunnel from the status notification - indefinitely or for a configurable duration - without opening the app.
- Admin Password Protection: Secures configuration tabs using salted PBKDF2 hashing.
- Local Logging: Tracks tunnel commands and network events locally for up to 24 hours with search and export capabilities.
- QuickSettings Tiles and widget to control pause.

Essential Setup Steps:
1. WireGuard App: Enable "Allow user-controlled tunnel management" in settings.
2. Grant Permission: Allow "WireGuard tunnel control" permission.
3. Location Access: Set to "Allow all the time" for background Wi-Fi detection.
4. Battery Optimization: Disable for BOTH WGControl and the WireGuard app.

Note: Not affiliated with WireGuard or Jason A. Donenfeld. Controls the official WireGuard app via its public broadcast interface.

版本

尽管下面提供了 APK 安装包的下载选项,但你应该注意,以这种方式安装将不会收到更新通知,这是一种不太安全的下载方式。 我们建议你安装使用 F-Droid 客户端。

下载 F-Droid
  • 版本 1.47.61910 (47) 推荐 更新于 2026-10-22

    该版本需要 Android 7.0 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 在后台访问位置
      即使你并未使用此应用,此应用也可以随时访问位置信息。
    • 只有在前台运行时才能获取大致位置信息
      此应用可以在使用时从定位服务获取你的大致位置。必须打开你的设备的定位服务,应用才能获取位置。
    • 只能在前台获取精确的位置信息
      此应用可以在使用时从定位服务获取你的精确位置。必须打开你的设备的定位服务,应用才能获取位置。这可能会增加耗电量。
    • 查看网络连接
      允许此应用查看网络连接的相关信息,例如哪些网络存在并处于连接状态。
    • 查看 Wi-Fi 连接
      允许此应用查看 Wi-Fi 网络的相关信息,如是否开启 Wi-Fi、已连接的 Wi-Fi 设备的名称等。
    • 与蓝牙设备配对
      允许此应用查看手机的蓝牙配置,并建立及接受与配对设备的连接。
    • 访问蓝牙设置
      允许此应用配置本地蓝牙手机,并允许其查找远程设备且与之配对。
    • 连接到已配对的蓝牙设备
      允许该应用连接到已配对的蓝牙设备
    • 连接和断开 Wi-Fi 网络连接
      允许此应用连接到 Wi-Fi 接入点并断开与 Wi-Fi 接入点的连接,以及改变 Wi-Fi 网络的设备配置。
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“connectedDevice”类型的前台服务
      允许该应用使用“connectedDevice”类型的前台服务
    • 运行“location”类型的前台服务
      允许该应用使用“location”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 与附近的 Wi-Fi 设备互动
      允许该应用向附近的 Wi-Fi 设备进行广播、连接到这些设备并确定这些设备的相对位置
    • 显示通知
      允许该应用显示通知
    • 开机启动
      允许此应用在系统完成引导后立即启动。这样可能会延长开机时间,并因始终运行而降低手机总体运行速度。
    • 请求忽略电池优化
      允许此应用请求忽略针对自身的电池优化的权限。
    • 防止手机休眠
      允许此应用阻止手机进入休眠状态。
    • com.wireguard.android.permission.CONTROL_TUNNELS
    • org.supersane.wgcontrol.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 1.9 MiB PGP 签名 | 构建日志