outsource from india chennai india programmers freelance php coder freelance outsource scripts programming complicated perl patterns php module installation
outsource from india perl installation and configuration php installation linux system administration US$15,US$19,US$11,US$10 cheap programmer
india outsource outsource india chennai india programmers php perl mysql freelance freelance programmer
SHOWCASE of php and perl scripts CONTACT US for php custom perl scripts
HOME
 

5.1. Loading up the rc.firewall ruleset

Step One: run the command "/etc/rc.d/rc.firewall".

Does it load with some strange errors? Here are some exmaples and help to fix them:

  • Problem #1:

    ip_tables, Using /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o
    /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device
    or resource busy
    Hint: insmod errors can be caused by incorrect module parameters, including
    invalid IO or IRQ parameters
        

    Run the command "/sbin/lsmod" and make sure the module "ipchains.o" is NOT installed. If it is installed, your machine (most likely Redhat-7.x based) is probably trying to load an IPCHAINS ruleset which is incompatible with IPTABLES.

    To disable this from happening in the future, run the command:
       chkconfig --level=2345 ipchains off
       

    To remove the "ipchains" module without rebooting, run the command:
       /sbin/rmmod ipchains
       
    and the re-try to load the rc.firewall ruleset.

  • Problem #2:

        .
        .
        Creating a DROP chain..
        iptables v1.2.3: log-level `info' ambiguous
        .
        .
        

    Your version of IPTABLES it too old. You need to upgrade it with a newer version via an updated RPM, DEB, or via compiling up the source. You can get an updated version from your Linux distribution manufacturer or from the NetFilter WWW site. This is all covered in the Section 2.6 section.

  • Problem #3:

        No such file: 
             

    Did you copy this rc.firewall file from a DOS machine? Load the rc.firewall file in a binary editor such as ViM (vim -b /etc/rc.d/rc.firewall) and make sure that every line is NOT finished with a ^M.


Linux HOWTO full list
   This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed