This script is excellent.
Note that it can be passed arguments to allow operation from non-standard ports. This is useful because I have had issues connecting out from home because of problems with my OVPN client receiving packets from the home OVPN server for an unknown reason.