1

I have installed Debian 8 today, and so far so good. What I want to achieve now is to install firewall but can't find Firestarter in repos (discontinued ?). So, I have installed a GUFW and set it up.

After some time running GUFW, it spits out some errors and the Graphical Interface is closed. Because of that I'm afraid that my firewall might not work correctly. Is there any way I can test or check if my firewall is working correctly as it should?

0

For the set of firewall rules that you have created, you can create tests for each of those rules. I accomplish this in organizational settings by using tools such as hping or scapy.

If you are familiar with the concept of unit tests, it works the same way. I run a listener on the protected host and send packets to it that have been crafted to test each rule in the rule set. In this way, you can test the effect of changes that you make, and ensure that your expectations are met at any point in time.

  • Ok sounds easy but how do I test for example incoming port 22 etc ? Sorry for such a stupid question but I have never used such tools before. – PHP-Juller Nov 8 '15 at 20:11
  • If you want to test port 22, just launch an ssh session from an external host – schroeder Nov 8 '15 at 20:29
  • Ok but what about any incoming connections in general ? – PHP-Juller Nov 8 '15 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.