Tag Archives: terminl

Sample firewall script for Ubuntu

I just thought that you might be interested in a small script you can use in Hardy Heron.

It uses the new UFW (Uncomplicated firewall) introduced in this new Ubuntu distro.

The script is well commented, so everything is easy to understand.

Here is the script:

You can modify it by adding/removing rules accordingly.