vpn_monitor

command
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Overview

Check VPN status via the IVpnManager system service.

Uses IVpnManager via the "vpn_management" service to query always-on VPN configuration, lockdown status, and legacy VPN info.

Note: Most VPN queries require system-level permissions.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/vpn_monitor ./examples/vpn_monitor/
adb push build/vpn_monitor /data/local/tmp/ && adb shell /data/local/tmp/vpn_monitor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL