Java Socket Programming

I want to distribute Internet Service to Clients.
So, how to distribute internet connection to those users who will be connected to Server.
The program will be run on server machine and will act as a proxy server.

//