Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Can you clarify what you mean by "over the same connection"? –  Shane Madden Feb 2 '12 at 19:18
    
@ShaneMadden I have added more detail to question –  vfclists Feb 3 '12 at 15:51

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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