OpenVPN fails to initialize on for either p2p_tls or p2p_shared_key.
|Affected version:||2.1||Affected Architecture:||All|
When a P2P mode is selected, OpenVPN fails to start. The logs indicate that the client-connect and client-disconnect flags were issued, which are only valid in server modes.
I am enclosing a patch for /etc/inc/openvpn.inc which tests for a p2p mode and, if found, excludes the issuing of client-connect and client-disconnect.