The circuit below can protect from reverse polarity, but I would like to know if it can provide overvoltage protection for any voltage more than 18 volts.
I have chosen a Zener diode with a breakdown voltage of 18 volts so that any voltage greater than 18 volts can flow through the Zener in opposite direction directly to ground.
The P channel MOSFET has a Vds of -30 Volts and a Vgs of +-20 Volts The Zener diode has a breakdown voltage of 18 volts.