[stunnel-users] publish/subscribe with stunnel

Michal Trojnara Michal.Trojnara at mirt.net
Thu Feb 10 12:57:25 CET 2011


Dam Dam wrote:
> This service publishes data to a subscriber. As far I as understood, the
> subscriber should be configured as a client with stunnel with a
> configuration close to this:
>  
> [subscriber]
> accept = p3
> connect = remote:p1
> client = yes
>  
> Now, my problem is that the subscriber does not listen on any port.

p3 is the port that stunnel listens on, and your application (subscriber)
*connects to*.

It's a good idea to replace
  accept = p3
with
  accept = 127.0.0.1:p3

Don't forget about authentication!

Mike



More information about the stunnel-users mailing list