A Step by Step Guide to Installing VPN on Raspberry Pi. Whitepaper

Similar documents
Hypersocket SSO. Lee Painter HYPERSOCKET LIMITED Unit 1, Vision Business Centre, Firth Way, Nottingham, NG6 8GF, United Kingdom. Getting Started Guide

Hypersocket VPN. Lee Painter HYPERSOCKET LIMITED Unit 1, Vision Business Centre, Firth Way, Nottingham, NG6 8GF, United Kingdom. Getting Started Guide

XLink Kai Raspberry Pi Beginners Tutorial

HySecure Quick Start Guide. HySecure 5.0

Pexip Infinity and Google Cloud Platform Deployment Guide

Adafruit's Raspberry Pi Lesson 6. Using SSH

Managing WCS User Accounts

Digital Free Library. Created by Kirby Griese. Last updated on :35:15 PM UTC

SecureFactors. Copyright SecureFactors Corp ver 1.0a

Orchid Fusion VMS Installation Guide

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Pexip Infinity and Amazon Web Services Deployment Guide

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

Administration of Cisco WLC

What s New in Fireware v WatchGuard Training

VMware AirWatch Content Gateway Guide for Linux For Linux

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

Davide Cavaliere 18 th February 2017

PowerApps Security Features

Building a standalone access point using a Raspberry Pi Zero W

Wallet Installation Guide for Staking on Raspberry PI

Preparing SD card for Pi

The Balabit s Privileged Session Management 5 F5 Azure Reference Guide

Initial Setup. Cisco APIC Documentation Roadmap. This chapter contains the following sections:

TIBCO Managed File Transfer Internet Server Transfer and File Share Clients User's Guide

ElasterStack 3.2 User Administration Guide - Advanced Zone

Version: 4.0. Quatrix Data Sheet. January 2018 Author: Maytech

Overcoming Remote Desktop Challenges with

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

NetIQ Privileged Account Manager 3.5 includes new features, improves usability and resolves several previous issues.

VMware AirWatch Product Provisioning and Staging for Android Guide Using Product Provisioning for managing Android devices.

Chapter 32 Security in the Internet: IPSec, SSL/TLS, PGP,

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett

Splashtop Enterprise for IoT Devices - Quick Start Guide v1.0

AT&T CLOUD SERVICES. AT&T Synaptic Compute as a Service SM. Using VMware vcloud Connector

Dell EMC ME4 Series vsphere Client Plug-in

Node-RED Dashboard: Pi Control

Procedure for Connecting to OIL VPN

RETROPIE INSTALLATION GUIDE

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build

ACE Live on RSP: Installation Instructions

Managing WCS User Accounts

Download and install MySQL server 8 in Windows. Step1: Download windows installer

Introduction With the move to the digital enterprise, all organizations regulated or not, are required to provide customers and anonymous users alike

Red Hat Enterprise Linux 7 Getting Started with Cockpit

Raspberry Pi as a VPN Wireless Access Point

dnsmasq configuration

ConnectUPS-X / -BD /-E How to use and install SSL, SSH

Deploying Tableau at Enterprise Scale in the Cloud

VMware AirWatch Content Gateway Guide For Linux

Managing NCS User Accounts

VMware AirWatch Certificate Authentication for Cisco IPSec VPN

Spreedbox Getting Started Guide

Installation guide. Step1. Install the OS for Raspberry Pi 3. Go to to download Raspbian to the PC.

PCI DSS Compliance. White Paper Parallels Remote Application Server

Delivers cost savings, high definition display, and supercharged sharing

Managing WCS User Accounts

WatchGuard Dimension v2.0 Update 2 Release Notes. Introducing New Dimension Command. Build Number Revision Date 13 August 2015

Xcalar Installation Guide

Perceptive Reflect. Installation and Setup Guide. Version: 2.3.x

SSL Certificate Based VPN

Red Hat Quay 2.9 Deploy Red Hat Quay - Basic

How To Start Mysql Using Linux Command Line Client In Ubuntu

VMware AirWatch Product Provisioning and Staging for Windows Rugged Guide Using Product Provisioning for managing Windows Rugged devices.

NANO-SPOT Personal Digital Hotspot

Understand & Prepare for EU GDPR Requirements

Google on BeyondCorp: Empowering employees with security for the cloud era

High Voltage Module Raspberry Pi Documentation Page 1

Red Hat Enterprise Linux Atomic Host 7 Getting Started with Cockpit

StoneLock Gateway Installation Manual. v.1.7

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

Security Camera. by maartenbrysbaert. The SeCam is a security camera that allows you to: - Livestream. - Rotate your camera 180 degrees

Server Installation and Administration Guide

Getting started with Raspberry Pi (and WebIoPi framework)

Barracuda Firewall Release Notes 6.5.x

CA XCOM Data Transport Gateway

3. Click on the Download ZIP button under Raspbian Jessie, and select a folder to save it to.

Overview Upgrading Unifier to Unifier

VMware AirWatch Integration with RSA PKI Guide

Contents Overview... 5 Upgrading Primavera Gateway... 7 Using Gateway Configuration Utilities... 9

Raspberry Pi Setup Tutorial

Welcome to Airconsole TS Thanks for purchasing Airconsole TS The worlds smallest most flexible serial console server.

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano raspian-jessie build

Storage Made Easy Cloud Appliance installation Guide

SMB auto-configuration Demo Script

Version No. Build Date No./ Release Date. Supported OS Apply to Models New Features/Enhancements. Bugs Fixed/Changes

Support Visit mysupport.mcafee.com to find product documentation, announcements, and support.

QuickStart Guide for Managing Computers. Version

Oracle Policy Automation Connector for Siebel V10.2 Release Notes

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

docalpha 5.0 Server Configuration Utility User Guide

Connection Broker Advanced Connections Management for Multi-Cloud Environments. Security Review

DEPLOYMENT GUIDE DEPLOYING F5 WITH ORACLE ACCESS MANAGER

Installing and Configuring vcloud Connector

Upgrading Big Data Management to Version Update 2 for Hortonworks HDP

PROXY Pro v10 RAS Security Layer Overview

Forescout. Configuration Guide. Version 4.2

How Microsoft s Enterprise Mobility Suite Provides helps with those challenges

Developing Microsoft Azure Solutions (70-532) Syllabus

Transcription:

A Step by Step Guide to Installing VPN on Raspberry Pi Whitepaper

Introduction For security conscious IT experts who would like to provide secure access to their network on a budget, this whitepaper provides a step by step guide on how to install and configure Hypersocket VPN on a Raspberry PI 2 Model B and Raspberry PI 3 Model B. Understanding a VPN & its Benefits A VPN is a network used to create a secure and encrypted connection across a less secure public network, usually the internet. It means employees can have LAN-like connectivity and access to corporate networks and resources as if they were located in the same office. The overriding benefit of any VPN is that it helps an organisation maintain privacy by encrypting the information sent and received via the network and so protecting it from prying eyes. For example internet search history can be an overlooked element of corporate privacy. If Google searches are not conducted through a VPN or Tor, they can be linked to an organisation s IP address and made public. By using a VPN even in areas as seemingly innocuous as search engines, companies can maintain an edge of confidentiality. Not all VPNs are the same, they might achieve the same general objective albeit through different technologies, but there are a number of distinct advantages in deploying what s known as a Secure Socket Layer (SSL) VPN. SSL VPN works on the application layer and is a protocol used for secure web-based communication via the internet. SSL secures one application at a time. And this leads to one of the key security and privacy benefits of SSL VPN; it enables organisations to control who accesses what within the network at a very granular level. SSL allows the principle of least privilege access to be implemented so that every user is granted access only to the parts of the network and the resources they need to do their job.

Installing VPN on Raspberry PI 1) Installing the Raspbian Jessie onto the SD Card 1.1 Download the Raspbian Jessie Lite from the following link https://downloads.raspberrypi.org/raspbian_lite_latest *The file is approximately 284MB 1.2 Extract the img file 1.3 Load this file on to your SD card using Win32DiskImager. This can be sourced from https://sourceforge.net/projects/win32diskimager/ 1.4 Insert the SD card in the Raspberry Pi and boot it up 1.5 Log in as user pi with password raspberry, now might be a good time to change the password with the passwd command.

2) How to enable WiFi 2.1 From a terminal shell, type Sudo nano /etc/wpa_supplicant/wpa_supplicant.conf 2.2 Make a new line at the end of the file and add: network={ ssid= your ssid psk= your wifi password key_mgmt=wpa-psk } 2.3 Now press CTRL and X to save the file. 2.4 Then press Y and enter Type: Sudo raspi-config 2.5 Choose option 1 to expand the file system, then go into optioen 9 (Advanced Options), then A4 (SSH) and enable the SSH server. 2.6 Press Tab twice to move to Finish. Press Enter and reboot when prompted. 2.7 Log back in again and from a terminal shell type: ifconfig wlan0. This should show you if you have been connected to the WiFi and if it has detected the IP address.

3) Installing VPN 3.1 Add the Hypersocket apt repository which can be done by typing the following on one line sudo bash c echo http://hypersocketdebiantesting.s3.amazonaws.com neutron main > /etc/apt/sources.list.d/hypersocketdebiantesting.list 3.2 Add the public key for the repo by copy and pasting the whole block below: sudo echo '-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.6 (GNU/Linux) mqgibe55+pmrbacltsd9gwhaq3pdk4sfwoqxydwg5shqjax77y50wm/asovz4z6l djh0ud8fg4e89gww6k9ixhpyf1pu8cnbn4y21wqn2+pohc9cj3c38oaz0zkkfkmw Jtkp9iGEVXD4N2K3khY1g2gdQH4wbB46p6DSB3jcZi9ml6i/ejAoXj6uHwCghJfD Y1tUrNFtdj+z8AmyEd+J4KsD+gID09/PUMgrfvexK/kGAISapo90PfW2XCEIZXOG S9VIUwgc70AdI6UiqQBQdYikxnMh3jgdIyIdEkcOgH9fCpUriiA9TV0/PwB1aWKU Xdse4YOV3U/P+SO2USRWaDt0AA0mXmxaC77XxUvGaD9ftfBES7NRM6pB01wLWNzX ZOVOA/94WUK9TJqfIwYNg3+/aAW9Wocj1zx87qhGXaNfIU51hN8oFCmZPRfx3jYK dnfnwboavjx5bxv0zlmajnioaxy/9pxkcenj+b/axbh9ncq++fm7eazfsv+x6meb m6rqwoxa0bu/pgn9sew4ygxkbuuvnmc74iwjznkcrbcpd9+9bbq5tmvydm- Vwb2lu dcbuzwnobm9sb2dpzxmgkfbhy2thz2luzykgpgluzm9abmvydmvwb2ludc5jb20+ igaeexecacafak55+pmcgwmgcwkibwmcbbuccamefgidaqieaqixgaakcrcxd- Ngv 17AmKWzhAKCEa5cg0C+IUD09BHMYN3Zltzk+1wCfRtvFePz6bcYs1VZbJ2L82DCb tvs5ag0etnn4+haiamlitdg6rnsegl0ckyt7i8gh/ebi1owi208g9xgdx/u0lp3k OcEXiX8Zbq5f/6hXGejJI1Vhmz6guVCJMGz+2SDPKzOLCgLT5Gtv5bhmt16lKuSh y0okwf2empyrhd+ptav+/2ygdxoim0xj1wpolp7f7mdj/na6wmrq0ud38+2egu4+ U1n9rqEcNTlyUcLS5nRaQM2PZvJmZTbcQkPHWqIaYCF5yzmG62ZUH6JI3XPxeF3g bpmcxja5zad9d2cernra7vhiyj2epd0vooloudt6ynvfmfuqzhhurhoa0iiikukg AzBrpWO+Fl4SZ2mG+CUKeHcJbC3KWvjpY+vVc38AAwUIAIxKM0y9GAJTgvHDr72E 4y1OKjZULYlzYwAu1UrWTDY+P7nMpisvCWHcuzbJapj44CTMzu5sVnIfa/q5H5W6 +ngtjnjlkycq/k0nrdl5ltjjg1ulngducbjzix+fhexywp7i5bmysvuri0zev7wd 0dNBazt8MdHcd2aNlrqLW0CjkTG5fWDky5wgFs4EMNXDsHvjsH2aLeiuf9c1a96C 0IRcNHQACayWHdijk/5kiaxP2o4xkZRE4IwTxwK4De5mbrXlrLcMYj+22QXZ6p15 L8OpJ8N3eS71xarNqed/Lold5WIRo2wptBjsZxKJoVVJ4UIvFqLa5PmqH8tyXNCt 5SiISQQYEQIACQUCTnn4+gIbDAAKCRCxDNgv17AmKQS0AJ0YUPAG/sX/n9l1jHG0 wwjmvzkhoacfsai82t31x7ecjx8xpzicio0i7am= =Ctol -----END PGP PUBLIC KEY BLOCK-----' apt-key add 3.3 Then we can update the apt cache by typing: sudo apt-get update 3.4 Now install the packages. Type: Ssudo apt-get install oracle-java8-jdk hypersocket-vpn

4) Starting the VPN Service 4.1 To start the service automatically, type in: sudo systemctl enable hypersocket-vpn 4.2 Now start the service with this command: sudo /etc/init.d/hypersocket-vpn start 4.3 The service takes approximately 3-4 minutes to start, after which you can go to https://<raspi-ipaddress> using a web browser where you should see a login page. 4.4 Accept the certificate error, then log in as admin with a password of admin and change your password when prompted. 4.5 Upgrade to the latest version when prompted and restart when that button appears. 4.6 Now you need to get a license. Follow this link which will allow you to register for a 30 day evaluation license: https://www.hypersocket.com/en/products/hypersocket-vpn/register 4.7 When you have the license file, you can load it in the Hypersocket UI during the setup wizard that runs the first time you log on to the system. 4.8 Seven days before the evaluation expires, you will be able to log on to our website using your account and request a free license. 4.9 Once licensed, the Hypersocket UI will show a Getting Started page which should guide you further on setting up. We also have a knowledgebase available for further information at https://support.hypersocket.com/hc/en-us

Hypersocket VPN Hypersocket VPN provides a cost effective alternative to IPsec or Point-to-Point Tunnelling Protocol for secure browser-based remote access with the ease of use of SSL. Hypersocket VPN provides a unique hybrid solution giving your remote workforce secure, least-privileged access to company resources anywhere in the world. Supporting simultaneous access to multiple on-premise serves and cloud networks through Hypersocket s multi-homed client giving greater productivity, more flexibility, a virtual network that adapts to business needs and improves productivity without compromising security. It lends itself well to Bring Your Own Devices scenarios, because the client has no direct access to the network. The ability to have connections to multiple sites at the same time enables secure access to a corporate LAN and other resources such as private cloud without the need for a permanent bridge between them. The VPN comes in two editions, a free Open Source version that provides basic connectivity under the GNU General Practice License V3 and an Enterprise Edition that provides the additional features required by security-conscious organizations. The server can be installed on any operating system supporting Java and client support currently is available for Windows and OSX. To enable access, the administrator defines one or more Network Resources using the HSF resource architecture, which identifies individual TCP/IP services that can be assigned to users through their roles. The Enterprise Edition adds further support, including support for users logging in from Active Directory, branding, auditing, accessing file systems over WebDAV, and extended file system support such as Amazon S3, SFTP, Dropbox, and Google Drive. It allows for configurable authentication flows and new authentication mechanisms. An Audit Log records all events, which are searchable by event type, session or user. Reports can be exported as CSV, XML, or PDF, and administrators have full control over how long the server keeps the data before it is archived. Unit 1, Vision Business Center Firth Way Nottingham NG6 8GF United Kingdom 0115 871 3121 www.hypersocket.com Sales@hypersocket.com