Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Iptables problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kinki
n00b
n00b


Joined: 18 Dec 2003
Posts: 2
Location: Joensuu

PostPosted: Tue Dec 23, 2003 9:48 am    Post subject: Iptables problems Reply with quote

Problem one:
/etc/init.d/iptables script does not work.
Code:

 * Saving iptables state...
/sbin/runscript.sh: line 68: ${IPTABLES_SAVE}: ambiguous redirect                [ !! ]


... iptables start gives same error (but with line: 26)

also,booting with rc-update iptables enabled spams all the "unknown command -A PREROUTING..." etc. errors.

Problem two:

When running kernel 2.6.0 compiled with ALL netfilter options (yes, I have checked the /proc/config.gz, all iptables/netfilter functionality has been enabled) iptables-restore < file only results an error like "line 7: failed" (and that is always the first COMMIT line). Manual iptables -A <whatever rule here> gives error message 'unknown argument'.

Also re-emerging/compiling iptables on kernel 2.6.0 fails with lots of warnings and finally an error.
_________________
++K
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Tue Dec 23, 2003 9:59 am    Post subject: Reply with quote

if you're running iptables v1.2.8 you need to upgrade in order to use kernel 2.6.x
Code:
emerge /usr/portage/net-firewall/iptables/iptables-1.2.9.ebuild



_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum