People keep asking about WireGuard, so I thought it would worth leaving a link to this bash installation script from Nyr:
Nyr has developed and maintained one of the oldest (7 yrs) and the most popular OpenVPN installation scripts that unfortunately has been widely forked without the proper credits:
Both scripts are in bash and well documented, so can be inspected before installation.