Skip to content

smart-home-network-security/firewall-blocklist

Repository files navigation

Smart Home block-list firewall

Profile-based, multi-layer, block-list Smart Home firewall, based on NFTables & NFQueue. Minimal version of smart-home-firewall, changed from an allow-list firewall to a block-list one.

Local compilation

Compile locally with:

./test/translator/translate.sh
mkdir build bin
cd build
cmake ..
cmake --build .

or, more easily:

./test/translator/translate.sh
./build.sh

Cross-compilation for OpenWrt

We provide two Docker images to cross-compile for two OpenWrt targets:

To pull either of them:

docker pull fdekeers/openwrt_tl-wdr4900
docker pull fdekeers/openwrt_linksys-wrt1200ac

To run cross-compilation with either image:

docker run --rm --mount type=bind,source="$(pwd)",target=/home/user/iot-firewall -e ROUTER=tl-wdr4900 fdekeers/openwrt_tl-wdr4900 /home/user/iot-firewall/build.sh -t /home/user/iot-firewall/openwrt/tl-wdr4900.cmake
docker run --rm --mount type=bind,source="$(pwd)",target=/home/user/iot-firewall -e ROUTER=linksys-wrt1200ac fdekeers/openwrt_linksys-wrt1200ac /home/user/iot-firewall/build.sh -t /home/user/iot-firewall/openwrt/linksys-wrt1200ac.cmake

or use the Docker Compose configuration (by default, configured for the TP-Link WDR 4900):

docker compose up

About

Multi-layer, block-list LAN firewall, based on NFTables & NFQueue.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published