| FIRESTARTER: An easy firewall for Linux |
|
|
|
| Written by Jordan | |
|
This article will describe in depth how to configure and run Firestarter under Linux. It is broken into three sections: introduction and installation, first running and loading Firestarter at boot time. I – IntroductionFirestarter is a Graphical User Interface (GUI) aiming at alleviating the firewall setup process. It is designed to be simple, complete and efficient. The easiest way to install it is by using your distribution package manager.II – First running In order to run, Firestarter, click on System -> Administration Tools -> Firestarter. At the first running, a wizard will help you to configure Firestarter by choosing the monitoring interface (it will automatically detect any active interface). If your IP address was assigned by Dynamic Host Control Protocol (DHCP), you should tick the corresponding option. The second dialog box will prompt you to share your Internet connection and use your computer as a DHCP server.
II- 1 The Status WidgetThis widget shows you the status of the firewall. It also helps you to monitor it. The status of the firewall could be one of the following:
This page also gives you some network statistics including active connections, number of warnings, incoming packets and so forth. The following picture shows you a screenshot of the widget. ![]() II – 2 The event widget This is where all logs are located. This is also where you can actually see all blocked connections as well as their error levels such as:
All these are illustrated at the next picture. ![]() II – 3 The Policy Widget This is where you should define for rules for your incoming and outcoming connections. For outcoming connections, I advise you to use the default option. For incoming connections, if you have some servers running on your computer, you should open their corresponding ports
The next picture shows you the widget in action ![]() II – 4 Preferences Default preferences will suit the user lambda. Those who already know some knowledge of network protocols and firewalling will not spend an awful amount of time to learn about it. For those who do not have enough skills, they should look at online references, Google is their friend. Is the firewall active when Firestarter window is closed? The window only helps for configuration, therefore the firewall is still active after you close the window. This behaviour is defined in the Firewall preferences. By default, the firewall restarts when a connection is booting and at the opening of the configuration wizard and at the assignment of a new address through a DHCP server. The next picture shows that window. ![]() III – Loading Firestarter at boot timeAlthough Firestarter is a good software, it is sometimes tricky to run it at the beginning of the session. Indeed, when you try to add Firestarter in System -> Preferences -> Sessions, you immediately have an error message saying that the eth0 interface is not available. This is due to that the interface will be started at the same time as the network.
$ su visudo Append the line: username ALL= NOPASSWD: /usr/sbin/firestarter Warning: Do not forget to replace the username will your actual one! $touch .start_firestarter
gedit .start_firestarter Copy the following information #! /bin/bash With only 1 interface #! /bin/bash Now to end up everything, you should go to System -> Preferences -> Sessions and add: Have questions? Ask them on our forum! |
| < Prev | Next > |
|---|
| Jordan | ![]() | 507 |
| TotalPenguin | ![]() | 414 |
| Tor | ![]() | 364 |
| v0id | ![]() | 273 |
| Wanch | ![]() | 133 |
| rumen | ![]() | 110 |
| Hektor | ![]() | 109 |
| Justice M | ![]() | 106 |