blackfuel / asuswrt-rt-ac86u

AsusWRT RT-AC86U router GPL source code
https://www.asus.com/Networking/RT-AC86U/HelpDesk_Download/
Other
24 stars 17 forks source link

add xtables? #1

Closed nu1ee closed 6 years ago

nu1ee commented 7 years ago

Can AC86U be able to add, I try to add but are missing the header file scatterlist.h

blackfuel commented 6 years ago

I have successfully done this in my custom Asuswrt firmware. You need change two Makefiles in Asuswrt. Following examples for how you could do such a thing:

HOWTO: add xtables-addons kernel modules to Linux https://github.com/blackfuel/asuswrt-merlin.382/blob/e23f9da4aa6331b22bce7c9d7b656a1d8f2d5ace/release/src-rt/Makefile#L4087

HOWTO: add xtables-addons userspace modules to iptables https://github.com/blackfuel/asuswrt-merlin.382/blob/e23f9da4aa6331b22bce7c9d7b656a1d8f2d5ace/release/src/router/Makefile#L6705 https://github.com/blackfuel/asuswrt-merlin.382/blob/e23f9da4aa6331b22bce7c9d7b656a1d8f2d5ace/release/src/router/Makefile#L7082