An inductor, in series, and a 1200uf 35v cap to GND after that is what I've seen used for 12v filter.