0

I used the Ubuntu 16.04 system and had problems configuring iptables. How to solve this problem?

modprobe: ERROR: could not insert 'ip_tables': Operation not permitted
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
  • Welcome to Unix & Linux SE. As this is your first question, you may not be familiar with our protocol. Please read this first, and follow up when and if you've received a helpful answer. There's also a "tour" you can take that will give you an overview, and may prove useful to you. – Seamus May 19 at 12:56
0

You don't have a problem configuring iptables, you have a problem loading the required module.

Are you running the command as root? The error Operation not permitted indicates that the module is not missing, you seem to lack the permission to load the module.

If you are running as root, it is also possible that additional restrictions prevent you from loading the module, such as AppArmor or SELinux.

  • thank you very much – bluetack May 19 at 12:36
  • 1
    If that was your problem, you could mark the answer as accepted. – RalfFriedl May 19 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.