Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

OpenVPN


In this section, we will install the Virtual Private Network (VPN) server, OpenVPN (https://openvpn.net). Every computer connecting from the outside to the Banana Pro VPN server is virtually connected to a home network: It can access every other home computer, which Banana Pro can also access. This procedure will provide a secure connection to a home Network Attached Storage (NAS) or allow the remote programming of VDR timers (refer to Chapter 4, An Arcade Cabinet). Additionally, clients are not only available for PCs or laptops, but also for mobile phones running iOS or Android. Before we take a look at possible clients, we will install the server first:

sudo apt-get install openvpn openssl easy-rsa

The preceding command install the OpenVPN server in addition to the SSL encryption, which is required to generate keys for both servers and clients. After installation, we can copy the easy-rsa directory into the OpenVPN configuration directory. We need to do this as a user root due...