Nastaveni firewalu

Honza Dusak akela at terminal.cz
Tue Jun 10 09:26:20 CEST 2003


 Zbynek> Zajima mne jak zavedu pravidla ihned po rebootu? Urcite by
 Zbynek> slo dat do nejakehos kriptiku ipf -f /etc/ipf.conf , ale
 Zbynek> bohuzel nevim do ktereho...

v /etc/rc.conf si muzete nastavit parametry ipfilter_enable="YES"
a ipfilter_rules="cesta-k-souboru-s-ipf-pravidly"

~> grep ipfilter /etc/defaults/rc.conf
ipfilter_enable="NO"            # Set to YES to enable ipfilter functionality
ipfilter_program="/sbin/ipf"    # where the ipfilter program lives
ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see
                                # /usr/src/contrib/ipfilter/rules for examples
ipfilter_flags=""               # additional flags for ipfilter
...

-- 
Honza Dusak



More information about the Users-l mailing list