IPsec policy template

Hi,

Who can explain a beginner the purpose of an IPsec policy template?

Secondly, IPsec/Peers: what does the “Generate Policy” option mean? (no, port override, port strict)

It’s not clear to me, even after reading the documentation…

Thanks!