Using proxies is not illegal. Some countries in the world do not have any laws related to using proxies. People use proxies to secure their internet activities or secure their identity online.