The Open Source Swiss Army Knife

/unix/unix_editors/sed/
/unix/unix_editors/sed/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /unix   /unix_editors   /sed 
Permalink: /var/sirfsup/unix/unix_editors/sed/iptables.txt
Title: add
article options : please login   |  raw source view  

#!/bin/sh
#
# Startup script to implement /etc/sysconfig/iptables pre-defined rules.
#
# chkconfig: 2345 08 92
#
# description: Automates a packet filtering firewall with iptables.
#
# by bero based on the ipchains script:
# Script Author: Joshua Jensen
# -- hacked up by gafton with help from notting
# modified by Anton Altaparmakov
# modified by Nils Philippsen
#
# config: /etc/sysconfig/iptables

# Source 'em up
. /etc/init.d/functions

IPTABLES_CONFIG=/etc/sysconfig/iptables

if [ ! -x /sbin/iptables ]; then

exit 0
fi
# ????????????????????
KERNELMAJ=`uname -r | sed -e 's,\..*,,'`
KERNELMIN=`uname -r | sed -e 's,[\.]\.,,' -e 's,\..,,'`


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top