Article 6EAWF Configuring stunnel on Windows

Configuring stunnel on Windows

by
mfoley
from LinuxQuestions.org on (#6EAWF)
I've used stunnel a few years ago, mainly for VNC security, but also for RDC on Windows. I'm trying to re-implement this for Windows, but am having problems this time. I did this once upon a time, but apparently didn't take very good notes.

stunnel version 5.70. I have the following in stunnel.conf on the Windows 10 computer:
Code:[WIN10]
client = yes
accept = 127.0.0.1:3389
;connect = pop.gmail.com:995
CAfile = stunnel.pemThe 'accept' line is, I presume, the port on the Windows machine to listen on. I don't know what the 'connect' line is for in this case and presume it's not needed for a client connection (yes, I've RTFM).

With the above config, I get the following error:
Code:Configuration successful
[ ] Deallocating deployed section defaults
[ ] Binding service [WIN10]
[ ] Listening file descriptor created (FD=724)
[ ] Setting accept socket options (FD=724)
[ ] Option SO_EXCLUSIVEADDRUSE set on accept socket
[.] Binding service [WIN10] to 127.0.0.1:3389: Permission denied (WSAEACCES) (10013)
[!] Binding service [WIN10] failed
[ ] Unbinding service [WIN10]
[ ] Service [WIN10] closed
[ ] Deallocating deployed section defaults
[ ] Deallocating section [WIN10]
[ ] Initializing inetd mode configuration
[ ] Running on Windows 6.2

Server is downI run stunnel by clicking on the stunnel desktop icon/shortcut. When the error dialog appears the title bar says, "stunnel 5.70 on Win64 (invalid configuration file)". The 4 lines shown above are the only uncommented lines in the stunnel.conf.

Why am I getting this Permission denied error?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments