Bug #2473

OpenVPN fails to initialize on for either p2p_tls or p2p_shared_key.

Added by Lott Caskey 12 months ago. Updated 12 months ago.

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.

pfSense-2.1-openvpn-NoClientCommandsOnP2P.patch Magnifier (724 Bytes) Lott Caskey, 06/06/2012 06:47 pm

History

#1 Updated by Jim P 12 months ago

  • Status changed from New to Rejected

Already fixed in git.

Also available in: Atom PDF