In the majority of parts of the world, VPN usage is entirely legal. While it is legal, most countries have laws against VPN usage with the intent to perform cybercrimes or other malicious actions.
Please refer to the policies of your government to check whether there are any additional regulations regarding VPN tools.