On Tue, 2008-09-16 14:12:13 -0400, Thomas O'Hare wrote:
I know this is against what STunnel was made for but...
There are Stunnel installations on client PCs but they also need to use STunnel to also send to non-SSL entities -- since it is easier then installing 2 relay/proxy servers. Is there a way to make STunnel into a non-SSL relay server?
Thomas,
I'm not sure I understand what you are looking for.
Of course, you can use two instances of stunnel to securely connect a 'clear-text client' to a 'clear-text server':
client <-clear-text-> stunnel 1 <-SSL-> stunnel 2 <-clear-text-> server
This would make sense only if you'd need the secure tunnel, for instance if the SSL secured link crosses the Internet.
If you just need a TCP port redirector, you might take a look at the `redir' class or programs, which gives you the same with much less effort in both, CPU cycles and administration.
HTH,
Ludolf