Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programatially determine if Cisco VPN Client is connected

Tags:

cisco

vpn

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.

like image 356
Mike Marshall Avatar asked Feb 04 '09 17:02

Mike Marshall


People also ask

How do I check Cisco VPN connection?

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) .

How do I know if I have Cisco AnyConnect?

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.

Does Cisco AnyConnect require Java?

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.


1 Answers

There is an API for Cisco VPN (vpnapi.dll).

like image 53
Kuyenda Avatar answered Sep 19 '22 00:09

Kuyenda