How to do it...

  1. We begin with installing Shorewall on our system using the apt-get command:

  1. Once the installation is complete, try to start Shorewall. You will get an error message as shown here:

This means we need to first configure Shorewall before it can start running.

  1. To configure Shorewall, edit the /etc/default/shorewall file in the editor of your choice. Look for the line that reads startup=0 and change its value to 1:

  1. Next, edit ...

Get Practical Linux Security Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.