Hi Ludolf,
It's again :
3 hosts : [host1]----[host2]---[host3]
1) stunnel : host1 -> host2 2) stunnel : host3 -> host2 3) telnet : host1 -> host3 via stunnel and via host2
Kind regards, Gabor
________________________________________ From: stunnel-users [stunnel-users-bounces@stunnel.org] on behalf of Ludolf Holzheid [lholzheid@bihl-wiedemann.de] Sent: Thursday, March 31, 2016 2:09 PM To: stunnel-users@stunnel.org Subject: Re: [stunnel-users] Connecting stunnels
On Thu, 2016-03-31 09:20:11 +0000, Juhasz Gabor wrote:
Hi Ludolf,
Thanks for your reply.
in your picture above, I don't understand who is supposed to establish the connection (i.e. who is to act as a client) and who is supposed to wait for connections (i.e. who is to act as a server).
There are 2 clients (left and right side) and the middle is the server
[host1] ------------- [host2] ------------ [host3] [stunnel client] ---> [stunnel server] <-- [stunnel client] [telnet client] ----> [tunnelserver] ----> [telnet server]
These arrows are on my original pictures.
Gabor,
I still don't understand which unit you want to act as a server and which as a client for each connection.
The telnet client is a client at any case. On request of a user, the telnet client establishes a connection to e.g. the stunnel instance on host1.
The telnet server is a server at any case. A server doesn't establish connections, but waits for incoming connections. So who is supposed to establish the connection between the stunnel instance on host3 and the telnet server, and on whose request?
The server has 2 instances of stunnel and I'd like to connect them somehow.
What does the term 'server' refer to in this sentence?
Maybe it helps if you explain the application you are trying to set up. In a previous mail, you mentioned HTTP, so I think there is a web browser (e.g. Firefox) and a www server (e.g. Apache) you want to connect. Is that correct?
Ludolf
--
Ludolf Holzheid
Bihl+Wiedemann GmbH Floßwörthstraße 41 68199 Mannheim, Germany
Tel: +49 621 33996-0 Fax: +49 621 3392239
mailto:lholzheid@bihl-wiedemann.de http://www.bihl-wiedemann.de
Sitz der Gesellschaft: Mannheim Geschäftsführer: Jochen Bihl, Bernhard Wiedemann Amtsgericht Mannheim, HRB 5796 _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users