Default How do you instal a kernel that supports netfilter

I need help and obtaining a kernel for nexus 5 that supports netfilter I have rooted stock rom and would like to stay with stock rom.