login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2008
»
June
»
26
Re: OpenSSH port forwarding
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
raven <raven@...>
To: TeXitoi <texitoi@...>
Cc: <misc@...>
Subject:
Re: OpenSSH port forwarding
Date: Thursday, June 26, 2008 - 6:03 pm
Thanks so much TeXitoi
TeXitoi ha scritto:
quoted text
> raven 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$
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: OpenSSH port forwarding
, TeXitoi
, (Thu Jun 26, 2:03 pm)
Re: OpenSSH port forwarding
, raven
, (Thu Jun 26, 6:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Joerg Roedel
[PATCH 03/34] AMD IOMMU: add defines and structures for ACPI scanning code
Eric W. Biederman
[PATCH] powerpc pseries eeh: Convert to kthread API
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
791 guests
online.
Online users
strcmp
mikewayne
Syndicate