Bug #2473
OpenVPN fails to initialize on for either p2p_tls or p2p_shared_key.
| Status: | Rejected | Start date: | 06/06/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | OpenVPN | |||
| Target version: | 2.1 | |||
| Affected version: | 2.1 | Affected Architecture: | All |
Description
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.
---Log snippet---
Jun 6 18:31:43 gw openvpn15337: Options error: --client-connect requires --mode server
Jun 6 18:31:43 gw openvpn15337: Use --help for more information.
-----------------
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.
