Hi everyone, <div><br></div><div>I've search into archives trying to found a solution for my problem without success. </div><div>The problem is simple: make a machine available on HTTP port when it's behind a e.g. common DSL. I have a</div>
<div>middle server for which I have full access to install any program, linux. </div><div>What I was trying to do is the following:</div><div>Three machines: Middle server (Server), Target (linux machine behind DSL) and Client. Same stunnel version on both Server and Target. Latests. </div>
<div><br></div><div>Server is available on the Internet, running stunnel</div><div><br></div><div>Target is behind a nat router, e.g. inside a common DSL. I assume this must run stunnel as well. </div><div><br></div><div>
Client connects to Server and Server forwards traffic to Target seamlessly. </div><div><br></div><div>As far as I know, running stunnel on client mode from e.g. Target and trying to connect to whichever service on Server does not work on reverse: you cannot connect backwards to target. Am I correct? If not, how do I configure both ends and how do I know port to use to connect to Target (log file?) ?</div>
<div><br></div><div>What I've tested:</div><div>1. Run stunnel on Server on server mode accepting ('accept') connections on a fixed port, e.g. 5000. Here, as far as I know, you must define the 'connect' directive to forward traffic to either local or remote host. The problem is, from Server, you don't know Target ip nor it's accessible</div>
<div>2. Run stunnel on Server and, on Target launch stunnel on client mode to try </div><div><br></div><div>Thanks in advance and congratulations as it's a great piece of software.</div><div><br></div><div>Best regards, </div>
<div><br></div><div>Jorge</div>