Thanks for your help Javier. Your instructions really help me building the 
simple stunnel.

I am wondering whether it is possible to build a bi-directional stunnel. Here I 
have two applications running on two seperate hosts. One of the application 
uses port 10 to send and receive packets, while another application uses port 
11. 

Until now, I try to modify the configuration like this:
Host 1:
[services]
client = no
accept = 100
connect = 10 (sending to app using port 10)
TIMEOUTclose = 0
[services]
client = yes
accept = 10 (receiving from app using port 10)
connect = ip_of_another_host_:100
TIMEOUTclose = 0

Host 2:
[services]
client = no
accept = 100
connect = 11 (sending to app using port 11)
TIMEOUTclose = 0
[services]
client = yes
accept = 11 (receiving from app using port 11)
connect = ip_of_another_host_:100
TIMEOUTclose = 0

Is that the correct config settings?
_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to