Jump to content
Not connected, Your IP: 18.118.9.7
Sign in to follow this  
suomynonamai

stunnel: server is down?

Recommended Posts

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.ovpn

AirVPN_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)

 

 

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...