raven <[EMAIL PROTECTED]> writes: > Hi guys, i have this net topology: > > > MAN > [LOCAL_MACHINE] <------->[GATEWAY]<---->INTERNET<----------> [My > EXTERNAL SERVER] > > So, i want to connect into my localmachine using ssh port forwarding > on My EXTERNAL SERVER. Ofcourse the Gateway it's of my ISP, so i cant > touch this. > I can do just with SSH, or i have to use a VPN ? > If the answer is: rtfm, i already do that...
I suppose you want to ssh to your localmachine when you are nowhere. For that, you can ssh to your externalserver.com, and then ssh to your localmachine.local. On the local machine : localmachine$ ssh -R5022:localhost:22 externalserver.com You can automaticate this using some scripts, see the man of ssh and ssh-keygen. Now, externalserver listen on localhost:5022, and forward that to localmachine:22. On the externalserver, you can now connect to your localmachine : externalserver$ ssh -p 5022 localhost localmachine$ -- Guillaume Pinot http://www.irccyn.ec-nantes.fr/~pinot/ ``Computers are good at following instructions, but not at reading your mind.'' -- Donald E. Knuth, the TeXbook () ASCII ribbon campaign -- Against HTML e-mail /\ http://www.asciiribbon.org -- Against proprietary attachments

