Re: No chain target match by that name

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

 



vikrant wrote:

Tharindu Rukshan Bamunuarachchi wrote:

netfilter@xxxxxxxxxxxxxxxxxxx

hi all,
when i tried to add following rule,

$IPTABLES -t nat -N Proxy

$IPTABLES -t nat -A Proxy -m iprange --dst-range
100.298.10.9-100.298.10.40 -j RETURN

i got following error,

iptables: No chain/target/match by that name

Please comment,

iptable version is 1.2.11
kernel version is 2.4.29-lug

Regards
--
Tharindu Rukshan Bamunuarachchi
all fabrications are subject to decay



U need to apply patch for iprange module .Check the following link:-
_http://www.netfilter.org/projects/patch-o-matic/pom-base.html#pom-base-iprange_





Download the latest patch-o-matic from ftp://ftp.netfilter.org/pub/ or find more updated at svc (http://netfilter.org/downloads.html#svn).

<snip>
Patching Your Kernel with Patch-O-Matic (POM)

Patch-o-matic can be downloaded from the netfilter homepage, http://www.netfilter.org/. You will also need the source code for your kernel (if you are using a kernel supplied with your distribution, install the |kernel-source| package or install a new kernel by downloading the latest kernel source code from http://www.kernel.org/) and the source code for iptables which you can also download from the netfilter homepage. Once you have these, unpack them and execute the |runme| script from patch-o-matic as follows: |$ KERNEL_DIR=<path to the kernel source code> IPTABLES_DIR=<path to the iptables source code> ./runme base
|

The script describes each new extension and asks whether or not to patch the kernel for it. Once that is finished you will need to recompile the kernel, the netfilter kernel modules and the iptables binaries. This is outside the scope of this article but you will find useful information on the following sites:

<snip>

Thanks
Vikrant


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux