[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables problem



Igor Khavkine wrote:

> Hi, I'm running unstable with a custom built linux-2.4.0. I'm trying
> to setup a firewall rule with iptables the following way:
> 
> iptables -A INPUT -i ppp0 -p tcp --dport 5865 -j REJECT
> 
> The error message I get is:
> ipchains: Protocol not available
> 
> If I chage REJECT to DROP everything works perfectly.

It sounds like your kernel wasn't configured with
CONFIG_IP_NF_TARGET_REJECT set.  You'll need to rebuild your kernel, and
pay special attention to the "IP: Netfilter Configuration" portion of
the config.



Reply to: