suomynonamai 0 Posted ... I installed stunnel (32-bit) on Windows 7 w/ SP1, 64-bit. OpenVPN client is also 64-bit. For testing purposes, I used the Config Generator to produce the following two files AirVPN_CA-Hoedus_SSL-443.ovpnAirVPN_CA-Hoedus_SSL-443.ssl which I moved to C:\Program Files\OpenVPN\config In a command prompt window, I typed the following: C:\Program Files\OpenVPN\config>stunnel "AirVPN_CA-Hoedus_SSL-443.ssl" The following error message appeared: [ ] No limit detected for the number of clients [.] stunnel 5.02 on x86-pc-msvc-1500 platform [.] Compiled/running with OpenSSL 1.0.1h-fips 5 Jun 2014 [.] Threading:WIN32 Sockets:SELECT,IPv6 SSL:ENGINE,OCSP,FIPS [ ] errno: (*_errno()) [.] Reading configuration from file AirVPN_CA-Hoedus_SSL-443.ssl [!] Cannot open configuration file [.] [.] Syntax: [.] stunnel [ [-install | -uninstall] [-quiet] [<filename>] ] | -help | -version | -sockets [.] <filename> - use specified config file [.] -install - install NT service [.] -uninstall - uninstall NT service [.] -quiet - don't display a message box on success [.] -help - get config file help [.] -version - display version and defaults [.] -sockets - display default socket options [!] Server is down How do I fix the above problem? Is stunnel attempting to use IPv6? (I always disable IPv6 on the advice of friends who say that IPv6 leaks DNS and other data packets) Quote Share this post Link to post
Staff 9971 Posted ... Hello! No, the problem is local, stunnel is not able to open AirVPN_CA-Hoedus_SSL-443.ssl file. Check that it is really inside the current working directory and that access flags are correct. You are using a particular directory which needs administrator privileges to be accessed, so if stunnel is run from a command prompt without administrator privileges, all the files inside that directory can't be accessed by it. Kind regards Quote Share this post Link to post
suomynonamai 0 Posted ... What does the "it" refer to? stunnel.exe? Do you mean that I should copy stunnel.exe to C:\Program Files\OpenVPN\config\ ? By default *.ovpn files are located in C:\Program Files\OpenVPN\config\ And what do you mean by "access flags"? What should the correct access flags be for C:\Program Files\OpenVPN\config\ ? Check that it is really inside the current working directory and that access flags are correct. Quote Share this post Link to post
suomynonamai 0 Posted ... Following your tip, I opened a command prompt with administrative privileges. I received the same error message. You are using a particular directory which needs administrator privileges to be accessed, so if stunnel is run from a command prompt without administrator privileges, all the files inside that directory can't be accessed by it. Quote Share this post Link to post