Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:18:01+00:00 2026-06-09T01:18:01+00:00

Scenario: Many embedded devices (running Linux) out in the fields, behind routers so NAT’d

  • 0

Scenario:

Many embedded devices (running Linux) out in the fields, behind routers so NAT’d and we can’t make connections to them.

We need for a support person to be able to initiate a terminal/shell session on any of the devices.

Their local terminal will also be NAT’d behind a corporate firewall, so we need some central “meeting point” that both they and the device can connect to.

If necessary, we could require the support person to log into some sort of terminal server, but I’d prefer a solution that just popped up a terminal window on their desktop.

We can (through other means) tell the device to execute some arbitary script or application to start up the session.

Without the NAT, it’s just SSH to the device and away we go. But what are my options in this NAT’d environment?

We’re OK to develop code at either end or at the meeting point server if required, but obviously if there are apps out there so we don’t have to write stuff, even better.

Pointers to other questions I may have missed (although I have looked) or to applications that I should consider for the central “meeting point” server welcomed

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:18:03+00:00Added an answer on June 9, 2026 at 1:18 am

    SSH is an adequate tool for this. You will, as you say, need a middle-man server. But it would be very easy to set up, assuming that your ‘other means of executing a script’ are remote and can be executed from your office.

    So, fire up a new server on a global IP (an Amazon AWS micro node is free for a year and would do the job just fine), and install an ssh deamon. Say it has the hostname middleman.example.org.

    The script to put onto your embedded devices would look like;

    #!/bin/bash
    ssh -i ./middle_id.pem -R 22:localhost:2222 middleuser@middle.example.org
    

    (The private key authentication would be a way of making the login non-interactive)

    The script to put onto your desktop machines would look like; (assuming the argument $1 is the IP of the embedded device, and that prod_remote_device.sh executes the above script on the chosen embedded device.)

    #!/bin/bash
    ./prod_remote_device.sh $1
    ssh -i ./device_id.pem deviceuser@middle.example.org:2222
    

    And that should forward your connection to the embedded device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the scenario: Many users access an application (running on tomcat), the user's data
My scenario: one server and some clients (though not many). The server can only
In an Ajax desktop scenario (iGoogle, Netvibes etc); how many separate Flash widgets can
I have this scenario User can have many profiles per year and i also
Obfuscated Scenario : A person has zero, one or many pets. Using Linq to
I have a scenario where I need to search from many binary files (using
There are many errors here in SO, but this scenario I think its different.
I have used Dictionary(TKey, TValue) for many purposes. But I haven't encountered any scenario
I need a tool which can minify, optimize and munge many files of those
Here is the scenario: You have a Persons table with a one-to-many relationship with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.