View Single Post
  #10   Report Post  
Old April 24th 04, 07:56 AM
John
 
Posts: n/a
Default

(Doug McLaren) wrote in message ...
In article ,
John wrote:

| If the APRS software was socks-aware, I could use ssh (which has a
| built-in socks server) to allow APRS to reach the Internet through my
| home connection. I don't think WinAPRS supports socks?

Even if APRS doesn't support socks, it's possible to make it work.

ssh can also just redirect a port, transparantly. Using openssh,

ssh -L 1080:aprs-server:1080 remote-host

will log you into remote-host, and will also forward localhost:1080 to
aprs-server:1080, with the remote connection coming from remote-host.
(I don't know which port you're after. Replace 1080 with whatever it
is. And if your ssh client supports this functionality, you can use
it instead of openssh, but you're on your own about how to set it up.)

So, you run ssh on the same system that runs APRS (Cygwin comes with
openssh if you need it,
http://www.cygwin.com/) and configure it to
talk to localhost:1080. If you cannot change the host that APRS uses
(never used WinARPS myself, only xastir) then put that hostname into
c:\windows\system32\drivers\etc\hosts (or wherever the file is) with
an address of 127.0.0.1. Eithe way, WinARPS will then connect to
localhost:1080, which ssh grabs and forwards along it's connection,
then it initiates a connection from the remote host to aprs-server on
port 1080. And then it all hopefully just works.


Ah ha! That was the piece I was missing. I didn't think to use the
local hosts file to change the IP. Great idea. I'll give it a try.

John

This doesn't work with everything, of course -- only TCP connections,
and with things that don't open up additional ports and connections --
but it may be all you need to do to make this work.


I'd love to be able to do IPSec (Nortel Contivity VPN client over this
link). I think there are a handful of ports that it uses so it might
be tough.

Another option would be a VPN of some sort. If port 22/tcp is open,
that may be all you need.


That's where I was headed, but I think your solution above is much
simpler if not more elegant.

Thanks!
John