Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 12. december 2024

Súbor: [Platon] / scripts / shell / firewall / README (stiahnutie)

Revízia 1.3, Sat Aug 29 21:05:35 2009 UTC (15 years, 3 months ago) by rajo


Zmeny od 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.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok