<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi Jason,<br>
<br>
I have not been following the thread for sometime but I am just
wondering why your using SSH and not a VPN. I use openVPN to
manage a large estate of systems through out Europe and I have to
say it has proved very reliable and secure for many years.<br>
<br>
I guess I am missing something ?<br>
<br>
Paul<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 06/09/15 23:06, Jason Irwin wrote:<br>
</div>
<blockquote
cite="mid:CAL8DSQm7SXjKyroMfiXGStnqZkejQNMH2YJgRASONdcgumQ9Hg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>I am trying to have a RasPi create a a
reverse tunnel to a server so I can manage it.
This should be simple enough. For some reason I
have not yet been able to determine, the
connection keeps dropping out. Even with
autossh.<br>
</div>
<br>
</div>
My first problem is, what has replaced
/etc/network/if-up.d/ in systemd?<br>
</div>
I know systemd defines things differently, but no
amount of searching has given the the answer to "How
to get systemd to run a script when the network is
up".<br>
<br>
</div>
Next is, how do I figure out *why* the connection drops?
I've got autossh dumping its error messages to a log
file that remains annoyingly empty, I just don't get it.
I've run this same thing (autossh -f /path/cert -R
1234:here:22 foo@bar) numerous times and it just, well,
works! Only thing different in this case is that the
RasPi is on a VPN that can hiccup (which the Pi detects
and restarts). Thing is, with autossh, I would expect it
to re-connect back to me one the Pi has finished
slapping ithe VPN around (regardless of any systemd
muck).<br>
</div>
<br>
</div>
Internet connection to the location is also woeful, so any
video chat/desktop share is fraught; or I'd use TeamViewer
or something access Cygwin on a local lappy. Luckily there
is an IT adept out at the location for the next few days.<br>
<br>
</div>
Any help gratefully received!<br>
<br>
</div>
J.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nottingham mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nottingham@mailman.lug.org.uk">Nottingham@mailman.lug.org.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.lug.org.uk/mailman/listinfo/nottingham">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a></pre>
</blockquote>
<br>
</body>
</html>