*** gawk *** (GNU awk) is required for fw-universal.sh. Otherwise firewall doesn't work
On Debian / GNU Linux always install packages:
apt-get install gawk perl iptables
and install package 'iproute' if you are using shaping:
apt-get install iproute
Make checkout from CVS into /etc/firewall:
cvs -d :pserver:anonymous@cvs.platon.sk:/home/cvs co firewall
and make some symlinks:
cd /etc/init.d/
ln -s /etc/firewall/fw-universal.sh firewall
cd /etc/rcS.d/
ln -s ../init.d/firewall S43firewall # S40networking make network available on Debian, so I choose #43
Copy configuration example
cp -p /etc/firewall/default-firewall.conf /etc/default/firewall
In case of problems comment out "ANTISPOOF_IFACE" in config file (e.g. you are on local network).
And now start you firewall with command
/etc/init.d/firewall start
Platon Group <platon@platon.sk> http://platon.sk/
|