Squid is a proxy server and web cache daemon. You can use it to route all or only web traffic from your network with the help of a firewall. But if you use Windows Desktops in your network and configure proxy on them using Internet Explorer, other applications such as MSN messenger, Yahoo messenger also the proxy server by default. Since by default Squid does not allow IM applications to pass through these application would not work. Using this method you can allow popular IM application use Squid proxy and pass through.

Applicable to Centos Versions

Guide is designed keeping Centos 5.x in mind, but should work with other releases as well. Again this is only necessary if you have Windows Clients that require IM and IRC access. If your clients are running Linux, there are better ways of doing this.

Doing the work

  1. Install Squid if you haven’t done so already. Open a terminal, Login as root and install Squid
  2. Edit Squid configuration file
  3. If you want to change the Proxy server name then add the following line to your squid.conf
  4. Allow HTTP access to a network
  5. or allow only one IP

  6. Now to allow IM and IRC access, add the following lines to squid.conf
  7. Save the file, exit and restart Squid
  8. Now configure your Windows machine to use your Squid server as proxy.

More Information

Keep in mind, using this method you may be violating network policy, please check with your network administrator for further information You have been warned.

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #centoshelp on irc.freenode.net

Added Reading

Last Modified: 28 Dec, 2011 at 20:27:24