Possible Duplicate:
Where are the system-wide proxy server settings?
How do I make a proxy server that allows other computers to access my internet connection through the proxy, but will not allow them to access my internet connection directly?
I have a server and a switch. I would also like to provide wifi access under the same conditions.