Hello,
I've just bought a new Buffalo WZR-600DHP router which came with DD-WRT v24SP2-MULTI (11/04/12) std (SVN revision 20180) from factory.
My goal with this router is to do port mirroring using IP tables; MANGLE table with target ROUTE or TEE. However, this build did not come with the kernel modules ipt_ROUTE or ipt_TEE.
tried inserting the module with no luck;
root@DD-WRT:/jffs# insmod ipt_ROUTE
insmod: ipt_ROUTE.ko: module not found
Thus iptables can not append the rules to mangle table;
iptables -t mangle -A PREROUTING -j TEE --gateway x.x.x.x
or
iptables -t mangle -A PREROUTING -j ROUTE --tee --gw x.x.x.x
does not work...
I wanted to install the kernel modules using ipkg, but it does not work either;
root@DD-WRT:/jffs# ipkg update
mkdir: can't create directory '//usr/local/lib/': Read-only file system
I'd really appreciate that if anyone could tell me what should I do to get ipkg working to install ipt_ROUTE kernel module.
Thanks...