Hey All

How would one go about determining if a VPN connection is currently connected?

I was thinking about finding out what port it uses (I think 1000) and picking up from that I guess if its open then that would mean there was a connection on that port and if the port wasn’t open then it would not have a connection established

Can any one else comment on this?