If you could provide more information, I'll be able to help. It could be that your VPN IP is banned, or the VPN is blocking the ports/something like that. What happens exactly when you connect to the server?.. Let us know..
in samp all servers or only 1 specific server ? and try to use another vpn