LAF – Linux Application Firewall (LAF) application firewall for Linux

Spread the love


LAF requires libnetfilter-queue, it’s dependency libnfnetlink and a kernel 2.6.14 or later.

sudo apt-get install libnfnetlink-dev libnetfilter-queue-dev


Install the required dependencies.

sudo apt-get install libnfnetlink-dev libnetfilter-queue-dev

Compile with make:


Run [clang]( static analyser:

scan-build make

Create an iptables rule:

sudo iptables -A OUTPUT -p all -j NFQUEUE --queue-num 0

Add entries to the whitelist.txt file as follows:

``<destination_ip> <port>``

``<destination_ip> <port>``

`*` can be used for either as an allow all.

Help Needed

If you are a C or a Python developer you can help us improve LAF. Feel free to take a look at the bug tracker for some tasks to do.


LAF is licensed under GPLv3 license. See LICENSE for more information

CREDITS: matrix-ac

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

yoast seo premium free

Spelling error report

The following text will be sent to our editors: