User avatar
DaveDriesen
Posts: 113
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
Contact: Website

HOWTO: Set up vuurmuur firewall on Raspberry Pi

Thu Jul 23, 2015 9:09 pm

I couldn't find an arm package for vuurmuur firewall, or any posts at all, so here's a step by step guide to building it from source. One of the better linux firewalls out there, certainly recommended!

The source is for 0.8rc1, this is unchanged since 2013 but you can substitute if a newer version gets out, or if you prefer an older version of course.

Code: Select all

# Install dependencies
apt-get install libtool debhelper automake autoconf gcc g++ libc6-dev libncurses5-dev conntrack libnfnetlink-dev libnetfilter-log-dev

# Download source
cd /usr/src
wget ftp://ftp.vuurmuur.org/releases/0.8rc1/Vuurmuur-0.8rc1.tar.gz
tar -xzf Vuurmuur-0.8rc1.tar.gz
cd Vuurmuur-0.8rc1

# Prepare the source directories
bash install.sh --unpack

# Build the packages and install. These 3 packages must be built in order:
cd libvuurmuur-0.8rc1
dpkg-buildpackage
cd ..
dpkg --install libvuurmuur_0.8~rc1-1_armhf.deb

cd vuurmuur-0.8rc1
dpkg-buildpackage
cd ..
dpkg --install vuurmuur_0.8~rc1-1_armhf.deb

cd vuurmuur_conf-0.8rc1
dpkg-buildpackage
cd ..
dpkg --install vuurmuur-conf_0.8~rc1-1_armhf.deb

# Done
After installation, normal vuurmuur rules apply:
- set /etc/default/vuurmuur to VUURMUUR_START=1
- service vuurmuur start
- Use vuurmuur_conf for configuration

I re-used an existing config from an x86 machine so did not go through the initial setup on the arm pi.
Let me know if anything needs to be added.

All the best,

Dave Driesen
Linux Dev and oldskool elite

Return to “Advanced users”