Unconfigured Ad Widget

Collapse

Raspberry Pi + tinc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason95357
    Senior Member
    • Feb 2013
    • 1130

    Raspberry Pi + tinc

    I'm in the process of building up some Raspberry Pi devices with tinc to create my own low-budget vpn devices. The plan is to have these at all my trusted families' homes.

    One use: I plan to keep a multi-TB drive at some of these homes so I can do offsite backups. I'll ask them to keep the drive in their fireproof safe, except when I ask so I can run a monthly backup (after paying bills, taxes, etc.). The backup will use an encryption system such that the contents are encrypted before they leave my local system, so the loss of the drive or compromise of the remote system doesn't affect the security of my data. I'll do the same for them if/when they supply the drives (shoot, it could be a GB thumb drive, they could store plenty that way). The point to this is distributed backups beyond one geographical location (thinking floods, but any major regional disaster could apply).

    Second use: allow for private family sharing of communications so we can talk about stuff Presently we use a combination of free services and privately owned services. The problem with this is that say an email goes to just private servers, but then after someone does a reply and includes another person with a public email service, like Gmail, Yahoo, or Outlook.com account (or even a work email system), and sends a reply with the thread, then it's not longer private. My plan is to create a couple second private email servers which won't communicate with external mail systems. Or perhaps it might allow public email system access just to notify family via their public email service that they have an email on our private system (banks, insurance, medical providers do this sort of thing). Kind of a hassle, but not really a big deal for privacy.

    Along with that will be a private family calendaring system. I'm not exactly sure how I want to do this. But the same basic idea, it would allow them to add a "private appt" meeting on their public calendar, but the details (location, phone, etc.) would only be available on the private calendaring system. I already do this manually between our immediate family's calendar and my work's calendar system (work will just say "Private Appt" and be marked as Out of the Office).

    Of course we'll have a private contacts list as well. That way we can update our phone numbers, addresses, etc. and have it automatically distribute to each other.

    Fourth use: Private file-sharing network. I've some family members who won't use Facebook, etc., and at this point I don't blame them. This way we can share photos and videos (you know, all the stuff most people share on Facebook). This will allow us to have our own private file-sharing network. One idea is to use one of the two Raspberry Pi USB ports to permanently keep a 64gb thumb drive installed for this purpose. It would replicate to all the other RPi's so that local access of the files will be nearly instant. With this I want to set up a private Dropbox-type folder system which allows a local desktop PC's contents to be replicated to this RPi USB system. I've done this before on a local basis, but it's fairly technical to set up. Also, most of us have smart DVD/Bluray systems and picture frames that can automatically view these sorts of shares. This is great for non-technical older family to view the photos.

    Fifth use: Private real-time video/voice/chat system. Same thing as you can do with public services, just using our own private network so there is no eavesdropping.

    Additionally, I plan to get tinc working on our smart phones. This will allow us to securely access all these services away from home (including VOIP for voice).

    Some of this is hobby, some of this is because I can, and the big motivation is because I just don't like what is going on these days with the giving up of privacy. I'm not some freak or pervert, and I don't copy movies/music illegally (everything I have digital, I own). I just don't believe my family's doings is anyone else's business.

    One of the things I'd like to do in all this is document and try to automate/simplify the process. The goal would be so that someone else with a legitimate use could do the same. Thing is, I'd want to control access to the docs/installers that I'd create (although, I know that once it is shared with someone else, I have no control). I just don't want low-end criminals or pervs to have access (let's face it, high-end criminals already have this and better). Those legitimate uses that I think it would be useful for use with are those in countries violating human rights (China, etc.) and/or persecuting Christians.

    At this point I've got the RPi working with tinc and a mesh of 4 systems. All systems can talk directly to each other, or I can designate and configure it such that there are just a handful of central hubs (minimum 2, preferably 3-4). Any system on the same local network as one of these RPi devices can communicate with this setup with zero configuration other than having IPv6 enabled.

    I've got it all working with IPv6 addressing for the private network because IPv6 allows other local routers beyond your default gateway. I'll have a local IPv4 address as well so legacy device like home A/V equipment can talk to the RPi as well (but not across the network, as there is no real need, plus the pics/videos will auto-replicate between the RPis)). I've got it using both IPv6 & IPv4 for the public network, using whatever is available (IPv6 and IPv4, or either).

    One nice thing about this system is that it will allow all RPi nodes to talk to each other, with end-node to end-node encryption (the middle nodes just forward it on), but can allow one or both of the end-nodes to be behind a proxy or single or double NAT where no inbound connections are allowed, so long as they can get to a hub system. Hub systems might be located at a paid colo service (or work), etc., but where the physical system is not to be trusted.

    I'm going to do a bit more testing and then some hardening of the RPis, and then ship them off to family that want to be in the first deployment wave. Because it is easy to do, my next step will be to get will be to file syncing going and a Dropbox-type client for folks to install on their Desktops.

    Sorry for the long post, but lots to get down
    LTCs: CA, OR, AZ, UT, FL, NV
    GOA & NRA Member
  • #2
    Jason95357
    Senior Member
    • Feb 2013
    • 1130

    Pics

    Here's some pics of two of the units.


    This unit serves other purposes too. It's a print/scan server for the house's all-in-one printer/scan/copier. It's also a music player/juke box for downstairs and controls the audio to the stereo to the right. It can be managed by our smartphones/tablets or any PC.


    This unit is a portable one with a small solar system and rechargable battery pack. Thoughts are to put it in the car with a cheap GPSr to track where the car is. Lots of fun application plans with this, such as in-car recording of front, back, driver (good for not-my-fault accidents). Music sync over the wifi when in the driveway or garage will keep all the family music accessible. Not sure if I want to wire this into the car battery or not with a trickle charge control, or just keep it simple and charging the solar battery pack.

    The GPSr tracking will allow us to know where the car is, and when we know where everyone is, we can automatically do things like control the house lighting (run an "away from home" program to look like we're home and HVAC to not cool/heat when not home, or start cooling/heating when we come back from a long trip).
    Attached Files
    LTCs: CA, OR, AZ, UT, FL, NV
    GOA & NRA Member

    Comment

    • #3
      woods
      Member
      • Mar 2011
      • 477

      I use openvpn to secure my browsing on untrusted networks. I serve that on a buyvm.net 15$/yr openvz debian7 located in Vegas. I store files encrypted using truecrypt or 7zip with aes or better. Most of my data is small so I can create multiple small aes/sawfish containers and mirror them on dropbox,google drive, USB flash, microSD, and any of my vps servers. I have microSD cards in small capped PVC tubes. One is buried under a rock over 60 miles away.

      This way all my truly important info such as pictures and serial numbers of all my guns and copies of my identification are available no matter what

      Comment

      • #4
        bill_k_lopez
        Banned
        • May 2011
        • 2836

        Sounds like fun, but it also sounds like you have way too much time on your hands (that or you don't realize the scope of what your trying to accomplish).

        Check out VTun - might be better suited for what you want to do, as you can create redundant tunnels to your private networks as well as routing via those tunnels.

        Hope you have tech savy family members, because your utopia Intra-net plan sounds like a nightmare of support issues. It would also be better to just go with cheap old PCs - way more options than a RP.

        Comment

        • #5
          Ninety
          Veteran Member
          • Nov 2012
          • 4062

          Necro Thread..

          Any more progress on your endeavor?

          I'm thinking about getting one or two of these things to play around with.. and some of the things you mentioned seem like it might be fun to play around with..
          NRA Member
          The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
          All that is required for evil to prevail is for good men to do nothing.
          -Edmund Burke
          I'd much rather go to my grave never needing my gun, than go there wishing I had it.
          - Phil Dalmolin

          The Battle of Athens was illegal too.

          Comment

          • #6
            stilly
            I need a LIFE!!
            • Jul 2009
            • 10685

            Someone just made a cell phone with a raspberry pi.

            Aside from that, There is a seller that has COOL raspberry pi cases on ebay. I was going to get one because this looks like a cool device to play with.

            There is even some sort of internet capability now that you can plug into your devices and give your your pi projects control over the internet...
            7 Billion people on the planet. They aint ALL gonna astronauts. Some will get hit by trains...

            Need GOOD SS pins to clean your brass? Try the new and improved model...



            And remember- 99.9% of the lawyers ruin it for the other .1%...

            Comment

            • #7
              MaHoTex
              Calguns Addict
              • Jul 2010
              • 5002

              The new A+ version is cheap at only $20. The B+ version has more IO and is only $35.

              I am considering getting the Compute R_Pi kit for my son for Xmas. He is really into coding and I think he would get a kick out of being able to do "stuff" with the IO.
              NRA Life Member

              sigpic

              Mr. President, I can't take any more winning! Make it stop Mr. President. The winning is YUGGEEEE!

              "If you've got a problem with the US, you better make sure it's not a military problem." SSgt Leslie Edwards

              Comment

              • #8
                itguy510
                Junior Member
                • May 2014
                • 39

                I can't recommend the raspberry pi enough for tinkering. So many projects come to mind. I made a garage door monitor and controller. If left open I get notified on my phone and could close it remotely.

                I'm working on wireless spotting scope, retro gaming console, photobooth. List goes on and on.

                Comment

                Working...
                UA-8071174-1