Hosting a proxy on your own computer isn't illegal, nor is using one. I couldn't see anybody having a legal case otherwise.
That being said, it may be against your school's policy, which may lead to things like suspension/expulsion. If there are rules about bypassing their security or content controls (or something similar) in the usage policy, then they'd have a case for that.