Using a proxy server in and of itself is not illegal. However, the legality of using a proxy depends on how it is being used and in which jurisdiction. In some countries, using a proxy to bypass internet censorship or access restricted websites may be illegal.