iptables errors

Development on core packages and the distribution goes on in here.

iptables errors

Postby jkgm » Tue Dec 20, 2011 4:58 am

Hi, I'm new to Arch on ARM and I'm having an odd issue getting iptables up and running. This is a brand new (as of last week) install on a PogoPlug Pro (black), and I have updated pacman, etc. I want to install SSHguard which requires iptables, but when I try to start iptables, I get this error:
$this->bbcode_second_pass_code('', '[root@Pogobox]~# /etc/rc.d/iptables start
Cannot load iptables rules: /etc/iptables/iptables.rules is missing!')

So after some poking around in /etc/iptables, I copied the empty.rules file to iptables.rules, but it still isn't working. Instead I get this:
$this->bbcode_second_pass_code('', '[root@Pogobox]~# /etc/rc.d/iptables start
:: Starting IP Tables [BUSY]
FATAL: Module ip_tables not found.
iptables-restore v1.4.12.1: iptables-restore: unable to initialize table 'filter'

Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAIL] ')

Digging into help for iptables-restore is where I get completely over my head. I don't want any blocking rules at all, since I'm only going to poke port 22 to my little box from my router. Any decent pointers?
jkgm
 
Posts: 18
Joined: Thu Dec 15, 2011 10:51 am

Re: iptables errors

Postby pepedog » Tue Dec 20, 2011 10:37 am

Try this first
/etc/rc.d/iptables save
It writes to here
/etc/iptables/iptables.rules
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: iptables errors

Postby kmihelich » Tue Dec 20, 2011 5:03 pm

This is more of an issue with the older kernel.

viewtopic.php?f=29&t=1410
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: iptables errors

Postby jkgm » Wed Dec 21, 2011 1:21 am

$this->bbcode_second_pass_quote('kmihelich', 'T')his is more of an issue with the older kernel.

viewtopic.php?f=29&t=1410

Oooh, after reading that, it looks like you're right. Does that essentially mean there aren't going to be any working firewall builds for this system for now, or can anyone recommend an alternative that works with the current kernel?
jkgm
 
Posts: 18
Joined: Thu Dec 15, 2011 10:51 am

Re: iptables errors

Postby WarheadsSE » Wed Dec 21, 2011 5:24 am

Give us until the new year.

I just booted from usb, into 3.1 on a Pro.

Usb, check. "Gigglebit", check, Sata .. meh, we're still working on it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 3 guests