Report this

What is the reason for this report?

Iptables on Arch Linux

Posted on April 18, 2014
1ps3

By 1ps3

Hello. I can’t set up iptables on Arch Linux, I get such error message: iptables-restore v1.4.21: iptables-restore: unable to initialize table ‘filter’ I belive it is connected with of specific kernel module. Stock kernel (from official repository) has it by default. Tried with every kernel from list in options, there’s my current setup: 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_64 GNU/Linux The only option is to compile my own kernel? Or maybe there is any other solution? Greetings



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You need to run iptables as root. <br>So: sudo iptables

Your kernel needs to match the kernel that is set in the Options section in your DigitalOcean control panel.

It does (CONFIG_LOCALVERSION=“-1-ARCH”) - /lib/modules/3.13.8-1-ARCH/. I compied kernel to /boot/vmlinuz-linux and used mkinicpio on it to create initramfs-linux.img but bootloader still loads your kernel. Did I forget about something?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.