1

A lot of the tutorials on stunnel show only single forwardings. It stunnel limited to only fowarding and listening to one port on both ends, or can it handle both local and remote forwarding in the way putty, my favorite does?

Eg in putty or ssh you can do something like ssh -L xxxx:localhost:yyyyy -L aaa:localhost:bbbbb -R yyyyy:somehost:zzzz user@host.com. Does stunnel do the same over a single connection, or is it limited by SSL from doing so, who requires another separate connection?

2
  • Can you clarify what you mean by "over the same connection"? Feb 2, 2012 at 19:18
  • @ShaneMadden I have added more detail to question
    – vfclists
    Feb 3, 2012 at 15:51

1 Answer 1

1

A single instance of stunnel can support multiple proxy configurations. For example, see this configuration I found on Google, which is configured to proxy pop, imap, and smtp.

This is not exactly the same as what you can do with the proxy support (-L and -R) in ssh. When using ssh, you're talking to an ssh server which is able to negotiate with your client to create all the forwardings you have requested. Stunnel simply sets up whatever is defined in the stunnel configuration file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.