OpenVPN Road Warrior with opvn client 2.2.2
I need to have OpenVPN run as a service but in a way that users can interact with it. Exporting the windows installer does work but running it as a service doesnt allow them to interact. With the new client ver 2.2.2 & 2.2.3 it can connect, set up the connection as a service, and have an openvpn gui with that service. My problem is no matter how i export the config the client wont connect. The end of the logfile always ending:
Tue Oct 23 09:13:59 2012 us=376000 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 23 09:13:59 2012 us=376000 WARNING: Make sure you understand the semantics of –tls-remote before using it (see the man page).
Tue Oct 23 09:13:59 2012 us=376000 NOTE: OpenVPNAS 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Oct 23 09:13:59 2012 us=579000 MANAGEMENT: Client disconnected
Tue Oct 23 09:13:59 2012 us=579000 Error opening file (edited filename).p12 (OpenSSL)
Tue Oct 23 09:13:59 2012 us=579000 Exiting
The server side never even see's an attempted connection.
using the exported client it will connect no problem.
what gives? In this test/poc i used pfsense to generate the certs, and it works with the exported installer. Due to the nature of those who will need to use this in my environment it needs to connect to the vpn as soon as the machine turns on (will have internet access).