<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=767170517-06122005><FONT face=Arial 
size=2>I'm trying to set up using the Windows service the ability to listen in 
SSL mode on one port (5102) and forward to non-SSL port (5010) and then also 
listen on one port (5101) in non-SSL mode and forward to a remote port (5102) in 
SSL mode. What I have currently in the config is:</FONT></SPAN></DIV>
<DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2>[inbound]</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>accept = 
5102</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>connect = 
5010</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2>[outbound]</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>accept = 
5101</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>connect = 
x.x.x.x:5102</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>The first STunnel 
example on the website talks about doing this, sort of, but I don't see any 
options to specify on a service configuration level whether the listen port is 
in SSL or non-SSL mode. The use of a service name like [pop3] vs [pop3s] seems 
to imply a difference, but I've got a custom application I'm trying to tunnel 
two way, not a standard IETF service.</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial size=2>A perusal of the 
last year's mailing list archives didn't yield anything. I guess the next step 
is to look at the source and see if it's supported unless someone here can tell 
me one way or the other. If it's not supported, I guess I'll add it 
in.</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2>thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2>Paul</FONT></SPAN></DIV>
<DIV><SPAN class=767170517-06122005><FONT face=Arial 
size=2></FONT></SPAN> </DIV></DIV>
<DIV> </DIV>
<DIV align=left><STRONG><FONT face=Arial size=2>Paul 
Hethmon</FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT face=Arial size=2>Senior 
Engineer</FONT></STRONG></DIV>
<DIV align=left><FONT face=Arial size=2>Clareity™ Security</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>SAFEMLS™ Security Education, Consulting 
and Solutions</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A 
href="http://www.safemls.com/">http://www.SAFEMLS.com</A></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A 
href="mailto:paul.hethmon@callclareity.com">paul.hethmon@callclareity.com</A></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>work: 865.671.6630</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>cell: 865.250.3517</FONT></DIV>
<DIV align=left> </DIV>
<DIV> </DIV></BODY></HTML>