Networking Forums

Networking Forums > Computer Networking > Linux Networking > Forwarding a login session?

Reply
Thread Tools Display Modes

Forwarding a login session?

 
 
Captain Dondo
Guest
Posts: n/a

 
      10-13-2005, 01:03 PM
This is sort of a weird one....

I have a machine that will be located in a remote location. It will be
behind a NAT+firewall so I can't get to it directly from the web.

My original plan was to use vtun to tunnel out of the machine to me so I
can access it over the VPN.

Well, vtun (or OpenVPN) need the tun device. I have not been successfull
in compiling the tun module for this particular machine (don't ask; long
story. It just can't be done, it seems.... No, I can't change the kernel....)

So... I know you can forward X via SSH; is there a way to forward just a
login session?

I've thought about having ssh forward port 20 (or whatever telnet runs on)
and then using telnet to log in. Any better ways?


 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      10-15-2005, 08:16 PM
Captain Dondo <(E-Mail Removed)> écrivait
news(E-Mail Removed) om:

> This is sort of a weird one....
>
> I have a machine that will be located in a remote location. It will
> be behind a NAT+firewall so I can't get to it directly from the web.


Can you configure the firewall to portfoward one port (ex: port 2222 on
the firewall to port 22 on the internal server) ?

If yes, you can use ssh -p 2222 firewall_ip to access the server.

> Well, vtun (or OpenVPN) need the tun device. I have not been
> successfull in compiling the tun module for this particular machine
> (don't ask; long story. It just can't be done, it seems.... No, I
> can't change the kernel....)


Did you tray TAP driver ?

> So... I know you can forward X via SSH; is there a way to forward just
> a login session?


You can forward any port from a ssh client to an shh server.

> I've thought about having ssh forward port 20 (or whatever telnet runs
> on) and then using telnet to log in. Any better ways?


Heu ???? If ssh is working you don't need telnet (and it's not secure to
use telnet).

So if you can connect to the firewall with ssh, then execute another ssh
in this session to connect to the internal server.


Regards


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with workstations ending login session neves7 Windows Networking 2 05-27-2007 03:00 PM
Is there a way to speed up and resume a SSH X forwarding session from a disconnection? ANTant@zimage.com Linux Networking 12 04-23-2006 07:07 PM
How to login with native IPASS Login string into netvigator login? Erhard Broadband 0 12-01-2004 12:58 PM
How to login with native IPASS Login string into netvigator login? Erhard Broadband 0 12-01-2004 06:24 AM
Clearing a "dead" login session? Tim Linux Networking 4 07-18-2004 08:12 AM



1 2 3 4 5 6 7 8 9 10 11