nat
May 15 2002, 02:59 AM
# /sbin/ipchains -F
ipchains: Incompatible with this kernel
Does ipchains work for anyone else who has bought a new AMD Athlon XP 1900 Dedicated Server With Plesk?
mouse
May 15 2002, 03:04 AM
unsure but that may mean you need to use IPtables, RH may have phased out ipchains support from the newer kernel.. Mouse
nat
May 15 2002, 03:20 AM
Seems to work a little bit.
# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
----------------------------------------------------
It was already installed. Since its not working right I get about 25 of theses when using pmfirewall.
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
Servers were just reaslesed today. Maybe others have same problem when trying to use pmfirewall. Guess I have to find something other than pmfirewall to help me setup my rules. Joy.
nat
May 15 2002, 03:24 AM
# /sbin/ipchains -L
ipchains: Incompatible with this kernel
nevermind.
projectandrew
May 15 2002, 03:35 AM
Yep, forget trying to use IPCHAINS - it is outdated and has been replaced with IPTABLES (netfilter).
Jammer2020
May 15 2002, 04:39 PM
7.2 still works with ipchains as well as 7.3. It was how the install was done. Check and see if ipchains was installed and deactivated from the init script. If it was just reactivate and you should have no problems. If it was not installed then you can either move on and use iptables or recompile the kernel.. If Iptables and Ipchains were both installed and are activated during bootup Ipchains will take preference.
nat
May 15 2002, 07:32 PM
Found out how to fix this for others that have same problem with the new amd 1900 servers.
http://www.redhat.com/docs/manuals/linux/R...-sysconfig.html
Just create an empty file called ipchains in /etc/sysconfig
# touch /etc/sysconfig/ipchains
Make sure there isn't an iptables file in /etc/sysconfig as you can only use one or the other.
Then Reboot the server.
Works now.
afriend
May 21 2002, 07:42 PM
When I installed RH7.2 (the first time of many times - LOL) I answered that I wanted a firewall, and RH "activated" ipchains. If ipchains is active then iptables will not run, and vice/versa. The second time I installed (knowing I really wanted iptables which is the newer and more powerful firewall code) I said I wanted no firewall at all; no ipchains firewall was installed, and iptabels was active. Both ipchains and iptables are compiled in the 7.2 kernel. You can run:
/sbin/chkconfig --list
to see what runs and at what run level - it's just a matter of what one you want. The program "ntsysv" will allow you to determine which one loads at the current run level so you can decide.
It's a little harder to find a good set of rules for iptables, but it does far more than ipchains and is worth the work to get it running.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.