Carsten Krüger wrote:
is it possible with stunnel to connect from host A to host B but to have the port redirection the other way?
SSL provides a 1:1 cryptographic protection of a TCP connection. For additional services (e.g. multiple data streams) you either need a different protocol (e.g. http://www.ietf.org/rfc/rfc4251.txt), or an additional proprietary protocol encapsulated within the standard SSL (so called "SSL VPNs" take this approach). Please bear in mind such "SSL VPN" is no longer just SSL encryption, as it needs this proprietary protocol implemented on both ends. Stunnel does not break SSL this way.
Mike