Security

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.

About Jack Wallen

Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website jackwallen.com.

Free Newsletters, In your Inbox