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:

**#** 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?

Have you updated your kernel but haven’t rebooted?

uname -r
rpm -q kernel-default

What other modules are loaded?

My openSUSE box has quite a few, including iptables_filter:

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
nf_conntrack          115037  10
x_tables               35260  19

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.