On Mon, Dec 13, 2010 at 09:50:32PM +0000, steve-ALUG@hst.me.uk wrote:
On 13/12/10 13:08, Chris G wrote:
When the VPN is up and running and I want to access things on the *client* from the server what do I actually have to do?
Can I ask a perhaps pertinent question? You want the boat to talk to your house, or vice versa. Why? What do you want to access? Email? Transfer files? Weather Station???
You can use a VPN, or you can tunnel over SSH. I think I looked into setting up a VPN once and found it quite complicated compared to ssh, that's why I'm asking! E.g. for my needs I found tunnelling vnc and a email port over ssh sufficient.
I want to run some monitoring (e.g. temperature measurement, maybe a web-cam) on the boat. I want to be able to see the results when I'm at home. By default I would expect the boat end to send me the results automatically and/or show them on a web page, but I also want to be able to get (ssh probably) access to the boat system so I can check/configure it remotely.
I have some of the monitoring already running on the boat, I'm running OWFS and there's a cron job that reads the temperatures from the 1-wire bus once an hour. It even E-Mailed them to me for a while after I left but after 24hrs or so it stopped. Sice I can't yet ssh to the system on the boat I can't fix that until I return there.
Basically the 3-G connection on the boat only allows connections to be started from the boat to the outside world. It seems that in addition to my NAT router on the boat there is another similar type of 'thing' operated by the telephone provider (Mobistar) between the WAN side of the router on the boat and the internet. Thus any sort of way of connecting to the boat must be tunneled through a connection that is actually started from the boat. Given that the 3-G connection comes and goes somewhat there must be some automatic means on the boat system for re-establishing the connection if it dies.