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.
Usage and download from source:
git clone https://github.com/pidEins/firewall-kernel-module && cd firewall-kernel-module
+ To build this module, please run the below mentioned command
+ To clean up the module, please run
+ To install the module, please run
+ To verify that module is inserted properly
lsmod | grep -i firewall
+ To uninstall the module