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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.