View previous topic :: View next topic |
Author |
Message |
kinki n00b
Joined: 18 Dec 2003 Posts: 2 Location: Joensuu
|
Posted: Tue Dec 23, 2003 9:48 am Post subject: Iptables problems |
|
|
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 |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Tue Dec 23, 2003 9:59 am Post subject: |
|
|
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 |
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
|