Find the answer to your Linux question:
Results 1 to 4 of 4
I am running CentOS 5.3 with kernel 2.6.23. When I try to add an iptable with "state" I get an error: iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    iptables state "unknown error"

    I am running CentOS 5.3 with kernel 2.6.23.

    When I try to add an iptable with "state" I get an error:

    iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

    iptables: Unknown error 4294967295

    The ipt_state.ko module does not seem to be anywhere on the system, just the file ipt_state.h. There is no mention of ipt_state in my .config file.

    How can I get iptables working?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Make sure the kernel modules are loaded.

    Code:
    /sbin/modprobe ipt_state

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    make sure iptables is runnisng :
    # service iptables status

    # service iptables start

    # ifconfig iptables on


    well there is a problemthat i found that while installing the linux system if you turned off the firewall the config files doesn't get created. i'm a rhce and faced this problems in many situations without any solutions at times.

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Quote Originally Posted by rituraj.goswami View Post
    # ifconfig iptables on
    Do you mean chkconfig iptables on?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...