SSH, remote device connected via 3G

This is a discussion on SSH, remote device connected via 3G within the Linux Networking forums, part of the Linux Forums category; Hi, Is there a correct way to SSH into a remote device that is connected via 3G? The following has ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2008
Jer
 
Posts: n/a
Default SSH, remote device connected via 3G

Hi,

Is there a correct way to SSH into a remote device that is connected via 3G?

The following has been tried, but with no success:
Desktop in room A, connected to internet via ADSL.
Laptop in room B, connected to internet via 3G.

I tried to SSH from Desktop to Laptop but a timeout error occurs. The
Laptop can't seem to be detected via the internet.

Using ipconfig on the laptop, the subnet mask is 255.255.255.255.

Am I missing out something? Or is this timeout failure caused by
possible NAT arrangement on the ISP side? Is there any way to overcome
this failure?

Thanks,
Jeremy
Reply With Quote
  #2 (permalink)  
Old 03-28-2008
Jurgen Haan
 
Posts: n/a
Default Re: SSH, remote device connected via 3G

Jer wrote:

> Am I missing out something? Or is this timeout failure caused by
> possible NAT arrangement on the ISP side? Is there any way to overcome
> this failure?


It's very likely that there's some way in the ISP infrastructure that
makes in 1-way.

Try opening a VPN between source and target.
Laptop as a VPN client and the other machine as a VPN server.
After that you can connect back to the Laptop through the VPN.

I can see the problem this is causing because it would mean initiating 2
client-server connections from both sides.

the VPN from laptop to workstation and the SSH from workstation to
laptop. If you're able to do both, you might aswell be able to sit
behind the laptop directly.

The only way this would work is when both machines would be up all the time.

-R-
Reply With Quote
  #3 (permalink)  
Old 03-28-2008
Jer
 
Posts: n/a
Default Re: SSH, remote device connected via 3G

This is getting complex. Setting up of DYNDNS, openVPN/getting a VPN
router, making vpn client work on Linux, configuration on auto-reconnect
upon disconnection, and troubleshooting... All are not my cup of tea.
Well, I just have to keep learning :)

Thanks for your suggestion! And have a good day ahead!

Jurgen Haan wrote:
> Jer wrote:
>
>> Am I missing out something? Or is this timeout failure caused by
>> possible NAT arrangement on the ISP side? Is there any way to overcome
>> this failure?

>
> It's very likely that there's some way in the ISP infrastructure that
> makes in 1-way.
>
> Try opening a VPN between source and target.
> Laptop as a VPN client and the other machine as a VPN server.
> After that you can connect back to the Laptop through the VPN.
>
> I can see the problem this is causing because it would mean initiating 2
> client-server connections from both sides.
>
> the VPN from laptop to workstation and the SSH from workstation to
> laptop. If you're able to do both, you might aswell be able to sit
> behind the laptop directly.
>
> The only way this would work is when both machines would be up all the time.
>
> -R-

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

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



All times are GMT +1. The time now is 02:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0