Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, April 20, 2024

File: [Platon] / scripts / shell / firewall / README (download)

Revision 1.3, Sat Aug 29 21:05:35 2009 UTC (14 years, 7 months ago) by rajo


Changes since 1.2: +24 -1 lines

Added installation instructions.

*** 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.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top