I am working with the basic Cisco VPN client (v.5 I believe). Is there anyway to determine programatically if a partciular profile (or any profile for that matter) is connected?
I'm looking to somehow get a status from the client itself. I don't want to have to try to ping some IP on the other end of the VPN to see if I get a response.
Hi, You can run the command "vpncli.exe" from the command prompt, this will tell you whether the VPN is connected or disconnected. Cisco AnyConnect Secure Mobility Client (version 4.7. 04056) .
From the Applications folder, click the AnyConnect VPN icon to open the user interface. A new pane labeled Cisco AnyConnect VPN Client will pop up. Click on the gear shaped icon lower left panel.
The Cisco AnyConnect Secure Mobility Client is a VPN client that does not require user configuration. However, you will need to install the Java Runtime Environment before you will be able to successfully install the AnyConnect VPN client.
There is an API for Cisco VPN (vpnapi.dll).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With