My previous post was before I saw the other answers. Yes martin2doha has made the same point. If it were indeed illegal it could easily be blocked. Or worse, a user could be detected and prosecuted.