Firewall kernel module.

Firewall kernel module.

The kernel module which implements 3 firewall rules as mentioned below:
1. Block all unsolicited ICMP packets coming in from outside except the ones going to the web-server. However,the local hosts should be able to ping outside.
2. Block all ssh attempts from outside.
3. Block port 80 (http) access from outside except for the web-server and test that an internal website on a local host is only accessible from inside.

firewall kernel module

Usage and download from source:

Source: https://github.com/pidEins