Results 1 to 3 of 3

Thread: iptables error

  1. #1
    Join Date
    Feb 2010
    Location
    Royse City, TX
    Posts
    209

    Default iptables error

    I am trying to run a script which invokes iptables (it's a VPN kill switch). When the script runs it spits out nothing but error messages. Typical is this:
    Code:
    # iptables -F  
    iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    
    The modules "iptables" and "x_tables" are loaded. What other modules might I need to get this to work?
    Steve Coleman
    openSUSE LEAP 15
    openSUSE Tumbleweed

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,188

    Default Re: iptables error

    Have you updated your kernel but haven't rebooted?

    uname -r
    vs
    rpm -q kernel-default
    .: miuku @ #opensuse @ irc.libera.chat

  3. #3

    Default Re: iptables error

    What other modules are loaded?

    My openSUSE box has quite a few, including iptables_filter:

    Code:
    ab@mybox0:~/Desktop> lsmod | grep -i iptab
    iptable_nat            13011  1
    nf_nat_ipv4            13263  1 iptable_nat
    nf_nat                 21611  3 ipt_MASQUERADE,iptable_nat,nf_nat_ipv4
    iptable_mangle         12695  1
    iptable_raw            12678  1
    iptable_filter         12810  1
    ip_tables              23019  4
    iptable_nat,iptable_mangle,iptable_raw,iptable_filter
    nf_conntrack          115037  10
    ipt_MASQUERADE,iptable_nat,nf_nat_ipv4,nf_nat,nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
    x_tables               35260  19
    ipt_MASQUERADE,xt_CHECKSUM,iptable_mangle,ebtables,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below.

    If you want to send me a private message, please let me know in the
    forum as I do not use the web interface often.

Posting Permissions

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