changed the VPN connection check because centos does it a little different than ubuntu