Linux, the swiss army knife OS.

I’ve been using Linux, in various shapes and sizes, for well over 8 years now and I’m still impressed by the sheer flexibility of the OS.

It’s a web server, it’s a router, it’s a firewall, it’s a desktop, it’s a recovery tool, it’s a geeky thing to put on your iPod. In short, it is all things to many people. That’s what I love about using Linux. Just when you think you’ve got it licked, suddenly there’s a new way to use and abuse the power of complete configuration freedom.

Case in point: Some of our users at work were abusing our good natured benevolence in letting them browse what ever websites they pleased. All they had to do was self-police. “Keep the personal stuff to lunch breaks, eh?” was the phrase we muttered. Well, blow me down with a feather if they weren’t disregarding our request.

What we needed was a way to restrict users to certain sites at certain times. Blocking it with our Windows Server 2003 wasn’t an option as to do that it was an all or nothing affair. Unacceptable. Purchasing ISA Server also wasn’t an option as it’s expensive and would take too long to sort out via the official channels. We needed a solution and we needed it now.

Enter an old PC we were about to throw away, 2 NIC’s and Linux. Placing the linux box in between the Windows Server (which acted as the gateway for the rest of the network) and our router as a bridge, plus some jiggery pokery with Squid and Shorewall, I managed to get a transparent proxy with timed ACL’s up and running within 2 hours. It literally slotted in and not a single configuration change was required on the whole network.

I love the smell of hotmail-blocking in the morning!