Does stunnel prevent non ssl traffic to "the" specified port?

Posted by user432024 on Server Fault See other posts from Server Fault or by user432024
Published on 2014-08-21T01:54:00Z Indexed on 2014/08/21 4:22 UTC
Read the original article Hit count: 430

Filed under:
|

So say I have an arbitrary tcp port 12345 and it's non ssl and I want to put stunnel to secure traffic to it.

When stunnel is in front of it does it mean that this port is now tls/ssl only? Or can you still connect to it unencrypted?

Basically I want to make sure that this port can only be accessed through ssl/tls and stunel and no other way.

Clarification I want to make sure only stunnel port is open. Which is answered in the comments that the unsecured port should be fire-walled but preferably bound to localhost.

© Server Fault or respective owner

Related posts about ssl

Related posts about stunnel