Linux: An Interesting VPN/Remote Project (1)

This is the first article of at least two articles about this project. The next article will follow once we are further into this project. A possible third article may follow at the end of this project.

The first day of September 2010 I received a web-form e-mail from a long-time client who lives and works in Alaska. My client's name is Wayne, so that is how I will refer to him for the rest of this article. Wayne bought one of the first AMD dual-CPU systems with eComStation my company built back in 2001. That system has been running ever since and is now ready to be retired. Wayne is going to be getting a new PC from my company, but first he has a project for which he asked me to provide assistance.

Wayne and his sister have pooled their resources and bought a vacation property in New Mexico. They are having a vacation home built there that will be shared between them. The home will be finished this month, October 2010. Wayne is an avid stargazer and has contracted for a small observatory to be built on the property about 200 feet from the home. This observatory will have a computer controlled, motorized retractable dome and computer controlled telescope. Unfortunately the software to control the dome and the telescope is apparently only developed for Microsoft systems [1] (Can you say vendor lock-in? I knew you could! Does anyone have hints on doing this with FOSS on Linux?). Wayne is also looking at Axis PTZ outdoor video surveillance cameras for the property.

How does this involve Linux, VPN and remote access?

Wayne wants to be able to do the following:

  • Have remote access from Alaska to New Mexico for running the telescope system over the internet.
  • Have remote access to video surveillance at the observatory and vacation house during the months that no one will be occupying the vacation home.
  • Be able to remotely power cycle all devices on the remote LAN.
  • Have a support person who can access these systems remotely to set it all up once connected.
  • Do all this on a budget that he can afford.

This is where I come in and Linux enters the picture. Wayne has already ordered one of our Tiny PC (Mini-ITX) systems that will be his router and VPN host for the vacation home. This Tiny PC will be running CentOS Linux with OpenVPN and sshd accessible over the internet. Wayne will be ordering a second Tiny PC for his Alaska home to set up a persistent VPN between the locations over the internet.

The New Mexico home and the observatory will be connected with 8-port or 16-port ethernet switches that connect with fiber-optic cable. There will be a single Category 6 cable run between the buildings as well. The fiber-optic cable will handle the data stream between the obeservatory and the home. The Category 6 cable will be used as a jumper between a base power management switch at the house and a client power management switch at the observatory.

The power management switches can be controlled over the phone using touch-tones to cycle power on individual devices connected to one of the 8 power ports on each device. The Category 6 cable that will connect these will extend the ability to cycle power in the observatory with the client power management switch. Wayne has already ordered these power switches and a UPS for the base unit from my company as well.

While this project is not cheap, it is going to be done within a budget that Wayne can afford. Part of the reason for that is CentOS Linux, the powerful, enterprise class software used to host his VPN and ssh remote access, is free of charge. So far, this is all vaporware in the design and configuration phase. Sometime in the next few weeks this will be put together and be a working system. Check back later for the next chapter, Linux: An Interesting VPN/Remote Project (2).

[1] The software mentioned here is TheSky/X Professional. It is actually for Microsoft and Apple systems. There will supposedly be a Linux version available … sometime. Of course the software is not free as in libre, nor free as in cost. Neither is it inexpensive in the opinion of the author. (Go back.)

free hit counter
free hit counter

Notice: All comments here are approved by a moderator before they will show up. Depending on the time of day this can take several hours. Please be patient and only post comments once. Thank you.

Share

Published by

Gene A.

Gene is a "Unix Guy", network technologist, system trouble-shooter and IT generalist with over 20 years experience in the SOHO and SMB markets. He is familiar with and conversant in eComStation (a.k.a. OS/2), DOS (PC, MS and Free), Unix, Linux and those GUI based systems from Microsoft. Gene is also a follower of Jesus (forgiven, not perfect), and this does inform his world view.

10 thoughts on “Linux: An Interesting VPN/Remote Project (1)”

  1. I use a single centos based openvpn server to provide vpn services to up to 200 clients in an enterprise environment.  It's a fabulous piece of software.

  2. There are plenty of programs for controlling telescopes from Linux.  I haven't tried them myself (my telescope is totally manual), but google should give you lots of hits.  A few to get you starter are:
    http://www.linux.org/docs/ldp/howto/Astronomy-HOWTO/hardwarecontrol.html
    http://www.linuxastronomy.org/
    http://www.stellarium.org/wiki/index.php/Telescope_Compatibility
    http://www.astro.louisville.edu/software/xmtel/index.html
     
    For the video cameras, I'd suggest looking at a program called "motion" which is designed to spot changes in camera pictures, such as you would want for survelience.
    http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
     

    1. David,

      Thank you for the searches. I have already done searches for Wayne and found some information. However, my request in the article is intended for anyone who has actually done this and can make suggestions.

      My company already builds video surveillance systems using ZoneMinder: Video Surveillance. Thanks for the suggestion of Motion. I'll look into that.

      1. I have used Kstars and Stellarium to connect to my Mount remotely using Linux – Skywatcher eq6.
        Both applications use a server-client setup where obviously the server (situated in the observatory) can run on almost anything and talk to the telescope in the observatory while you stare at a pretty screen anywhere in the world.
        Add in some streaming for the cameras (firewire and v4l – I use both). 
        It will come down to who makes the mount.

  3. Hello please excuse my English, I am not a native speaker. I found your website on Yahoo “Linux: An Interesting VPN/Remote Project (1) « The ERACC Web Log” was somewhat close to what I was looking for, but after studing through your story I still was not able locate clean answer to my puzzle and this is driving me insane. …

    Remainder of this comment was site suggestions. Please use our contact form for site suggestions. Thank you. Editor

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Follow the directions below to post a comment if you are human. After 3 failed tries reload the page to start with new images.