Once deployed, a personal or enterprise VPN can be a powerful tool both with regard to security as well as functionality. A well-engineered VPN will allow users to connect to distant resources securely. Sometimes, however, just having a VPN isn't quite enough. A given application may mandate more strict security standards or require better monitoring and control.
Integrating plugins and scripting with OpenVPN can resolve many of these organizational or functional necessities. This chapter will demonstrate how plugins can be used to enhance authentication and how scripting can track connections, generate routing tables, and do much more.