xinzhang-lotusflare / llat

This is to provide LF VPN access for China team when working from home
Apache License 2.0
2 stars 0 forks source link

Add status check #8

Open xinzhang-lotusflare opened 2 years ago

xinzhang-lotusflare commented 2 years ago

Currently, for check the status of network, users need to use command sudo wg to check the raw output.

We can add status subcommand to check it by looking for matched IP in allowedIPs.

xinzhang-lotusflare commented 2 years ago

When user executes llat status, it should print Enabled or Disabled