Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2983

Re: Establish an alternative connection to an embedded system

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Andrzej Adam Filip <anfi@onet.eu>
Newsgroups comp.os.linux.networking
Subject Re: Establish an alternative connection to an embedded system
Date Sun, 22 Jun 2014 10:09:21 +0200
Organization It is for me to know and for you to find out.
Lines 27
Message-ID <mc32igb6pf@e6m0.huge.strangled.net> (permalink)
References <5d25e73f-d8c4-413e-9504-56e571a42ea2@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx05.eternal-september.org; posting-host="0cf0c4208e8a476e9e16ab3250446383"; logging-data="1833"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hbE/G7+6ionnOFef64s8P"
X-Face ]bzR|'u-c\dF>9~..1G(u?R)oMXK8C{K5#\jBJOKcz3zb*e:f{"@Xc-u'9u W+09zu=d+_e%}(E"3xkuIr"2"zg,eWbn4oG<'@(ziBs.@Ol:}]cUky/D8#MB^4;XnS2 ZF<jt:f*%rW;+5BFv1&o=|@]?U<rGey;k6#MiqJLAdgG2y~*I'Vmz*Gx>9m/mPteuM" @]@&*eR2Teg_"WEOOxC;
Cancel-Lock sha1:jB8lpLbdJKlRQC3HvpF+67kFdo0= sha1:0UqlOnufAO4h6by3/9/OX+xQxvo=
Xref csiph.com comp.os.linux.networking:2983

Show key headers only | View raw


perf60@gmail.com wrote:
> I have an embedded linux system on a remote farm. Usually I ssh into
> the system via the farms ADSL/WiFi system (using port forwarding). But
> sometimes the traffic on the farm blocks me from connecting.
>
> To solve this, I have added a GSM/GPRS modem to the system. The modem
> uses the gsmmux giving 3 channels /dev/mux0 thru /dev/mux2. I have a
> python daemon watching SMS messages om /dev/mux1. Then I can send an
> SMS telling this daemon to set up ppp on /dev/mux0. After the link is
> set up, the daemon answer the SMS telling me the IP number of the
> alternative link.
>
> Problem is, it does not work to ssh into this IP. Something is obviously missing in my setup - it only works from the system towards the internet.
>
> What must I do to enable ssh to access my system via this alternative connection?

1) Have you changed ListenAddress in /etc/ssh/sshd_config ?
2) Have you implemented source based TCP/IP routing to make _both_ links work
   at the same time? [unless your system is for monitoring only]
3) Have you used tcptracerourote to track TCP connections attempts?
   [ There may be a firewall in between ]
4) AFAIR some GSM internet providers block incoming TCP connections.
   You may try to overcome it by making outgoing ssh connection over GSM link
   with -R port forwarding

-- 
[Andrew] Andrzej A. Filip  -  https://www.linkedin.com/in/andfil

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 00:34 -0700
  Re: Establish an alternative connection to an embedded system Andrzej Adam Filip <anfi@onet.eu> - 2014-06-22 10:09 +0200
    Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 01:46 -0700
      Re: Establish an alternative connection to an embedded system ein <ein@no.spam> - 2014-06-22 11:28 +0200
      Re: Establish an alternative connection to an embedded system ein <ein@no.spam> - 2014-06-22 11:36 +0200
        Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 03:20 -0700
          Re: Establish an alternative connection to an embedded system Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-06-22 12:37 +0200
            Re: Establish an alternative connection to an embedded system ein <ein@no.spam> - 2014-06-22 13:45 +0200
              Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 05:15 -0700
                Re: Establish an alternative connection to an embedded system Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-06-22 14:20 +0200
                Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 05:46 -0700
                Re: Establish an alternative connection to an embedded system Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-06-22 15:05 +0200
                Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 06:26 -0700
                Re: Establish an alternative connection to an embedded system Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-06-22 15:47 +0200
                Re: Establish an alternative connection to an embedded system perf60@gmail.com - 2014-06-22 07:02 -0700
  Re: Establish an alternative connection to an embedded system David Brown <david.brown@hesbynett.no> - 2014-06-22 14:45 +0200

csiph-web