Tips to keep your solar system protected from lightning
1. Proper grounding
Panel frames and mounts are grounded in order to provide the easiest path for lightning to get to the ground. You would much rather have it go down the mounting pole or ground rod than down your wiring to your controller or inverter.
2. Single Point Grounding
All equipment should be bonded to one single good earth ground.
3. Surge Arrestors (Surge Protectors)
These go across the live wires with another wire going to the ground. If the voltage goes above a certain level, they start to conduct, shorting the higher voltage to the ground.