[NTLUG:Discuss] Stunnel
brian at pongonova.net
brian at pongonova.net
Fri Dec 8 14:49:00 CST 2006
On Fri, Dec 08, 2006 at 10:44:44AM -0600, Leroy Tennison wrote:
> I think I know the answer to this question but thought I would get
> confirmation. Does anyone know of a way to set up an stunnel client
> where it can connect to a given service on any remote machine without
> having to use a different port for each remote host and key that into
> stunnel's configuration file? If so, please post the solution. Thanks.
Something like this will work:
ssh -C -L 8000:192.168.0.1:8000 1.2.3.4
then point your browser (or whatever) to 127.0.0.1:8000
I use this all the time to access web-based firewalls
that aren't accessible remotely.
(I'm working from memory here, as all of mine are aliases, but I
believe the syntax is close.)
--Brian
More information about the Discuss
mailing list