A simple and easy way to configure a Debian firewall with iptables.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A simple and easy way to configure a Debian firewall with iptables.


This project is for users who want to protect themselves from unsolicited network connections.

Simple Protection

The simple protection feature add the following protections:

  • Block null packets
  • Reject syn-flood attack
  • Reject XMAS packets

Default Configuration

The default configuration add the following protections:

  • Allow localhost connections
  • Allow only established connections
  • Drop input connections
  • Drop forward connections


Iptables should be installed by default on your system. You can verify your installation with the following command:

sudo iptables --version

If the above command return an error, you can install iptables with the following commmand:

sudo apt-get install iptables

Firewall Installation & Configuration

This software configure iptables. You can view each command and what they do by looking at the install.sh file.

To install and configure the firewall, execute the following command:

sh install.sh


This project is made available under the terms of the MIT License. See the LICENSE file for a representation.