Are you trying to do this at work/school? If so, you need to speak with the local administrators about allowable uses of their systems.
Have you looked into Internet Connection Sharing, otherwise? Keep in mind, your permission levels will affect this, even if allowed on your network.
Talk to the admins first before doing anything (and possibly getting into trouble).