SolutionBase: Configure a firewall in Linux using SuSe’s YaST

By Jack Wallen

This gallery is also available as a TechRepublic article and download.

In today's network environment where security is one of the major tools, one of the most important things you should have on your network is a firewall. If you're new to Linux administration, the thought of creating a firewall using an entire iptables chain could be a bit daunting. Fortunately there's a GUI way to build a Linux firewall using SuSE's YaST2. With a kit full of fundamental software, YaST2 takes the prize for best prepared.

In this article we are going to poke around the YaST2 firewall tool and set up a firewall on a desktop machine. What our environment will include will be a server set up with OpenSuSE 10.2 and two ethernet cards.

A Quick look around YaST

Although contrary to what many Linux administrators would advise I am going to log into my SuSE 10.2 machine as root for this setup. I don't do this often but it saves me from having to enter the root password every time I want to perform an administration task. This is okay for setting up the services we're dealing with, but once you are done setting up said services, log out and log back in with your regular user account.

The first thing you'll want to do is to click on the Computer menu as shown.

By Jack Wallen

Jack Wallen is an award-winning writer for TechRepublic, The New Stack, and Linux New Media. He's covered a variety of topics for over twenty years and is an avid promoter of open source. For more news about Jack Wallen, visit his website jackwallen....