How To Set Up a VPN Server Using a Mac



Similar documents
VPN: Virtual Private Network Setup Instructions

Mac OS VPN Set Up Guide

Optional Mainserver Setup Instructions for OS X Support

NAS 323 Using Your NAS as a VPN Server

(this is being worked on)

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Qvis Security Technical Support Field Manual LX Series

Mac OS X: INSTALLING TUNNELBLICK

FortiClient SSL VPN Client User s Guide

Vulkano Remote Access Configuration. User guide

SSL VPN Setup for Windows

Setting Up Your FTP Server

Hallpass Instructions for Connecting to Mac with a Mac

USB HSPA Modem. User Manual

XenApp/Citrix Program Neighborhood Installation

Access the TCNJ Palo Alto Networks VPN using the GlobalProtect VPN client

MyNetFone Virtual Fax. Virtual Fax Installation

Connecting to Cisco VPN From Ubuntu Linux LTS i386/amd64 Revised Jun 10, 2012 by r.a.parks.

Connection. to SECON-Server

General Tips: Page 1 of 20. By Khaled Elshaer.

From a Finder window choose Applications (shown circled in red) and then double click the Tether icon (shown circled in green).

Bosco Internet Setup Guide For Zest Apartments. Windows XP, Vista and Mac OS X

Installation Guidelines (MySQL database & Archivists Toolkit client)

EMR Link Server Interface Installation

Migration User Guides: The Console Application Setup Guide

Remote Access Services Apple Macintosh - Installation Guide

Download and Install the Citrix Receiver for Mac/Linux

Setting up and creating a Local Area Network (LAN) within Windows XP by Buzzons

How to Install Applications (APK Files) on Your Android Phone

Wireless Printing Setup Guide

École des Ponts Paristech DSI. Installing OpenVPN

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

The following describes how to connect to the Internet using a Novatel Ovation MC950D modem and an Apple MacBook Pro : with Mac OS X 10.4 Tiger.

How to install and use the File Sharing Outlook Plugin

Soft Solutions, Inc. 4-Sight FAX 7.5. Getting Started. Soft Solutions, Inc.

1. Open Thunderbird. If the Import Wizard window opens, select Don t import anything and click Next and go to step 3.

Signiant Agent installation

This guide provides all of the information necessary to connect to MoFo resources from outside of the office.

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

How to Install the Cisco AnyConnect VPN Client. Installing Cisco AnyConnect VPN Client on Windows with the Chrome Browser (Recommended)

Using Windows Task Scheduler instead of the Backup Express Scheduler

SSH and Basic Commands

VPN User Guide. For Mac

Remote Access - Mac OS X

Super Pro Net TM Network Key Installation and Operation

How to configure Linksys SPA for VOIP Connections

Setting up RDP on your ipad

VPN Quick Configuration Guide. Astaro Security Gateway V8

The Barracuda Network Connector. System Requirements. Barracuda SSL VPN

SHC Client Remote Access User Guide for Citrix & F5 VPN Edge Client

Accessing vlabs using the VMware Horizon View Client for OSX

REMOTE ACCESS DDNS CONFIGURATION MANUAL

BRIC VPN Setup Instructions

EZ RMC Remote HMI App Application Guide for ios

Preparing your MAC Computer to access QuickBooks Hosted with the Citrix Receiver or Online Plugin

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

DraganFly Guardian: API Instillation Instructions

Remote Access Enhancements

PART 1 CONFIGURATION 1.1 Installing Dashboard Software Dashboardxxx.exe Administration Rights Prerequisite Wizard

Configuring NXT Hardware with Mercury Inside into Doors.NET TM Application Note

Elluminate Live! Access Guide. Page 1 of 7

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

educ Office Remove & create new Outlook profile

VPN AND CITRIX INSTALLATION GUIDE

Dacorum U3A Apple Mac Users Group Agenda TUESDAY 7th July 2015 Time Machine Backups for your MAC & ipad?

Guide for Alumni. Transferring Office365 s to a Personal Account

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

ios How to Back Up from icloud

Gauge Drawing Tool Slider Drawing Tool Toggle Button Drawing Tool One-Way List Drawing Tool... 8

NetPortal All your documents, direct to your iphone

Installing Java 5.0 and Eclipse on Mac OS X

SSL VPN Service. Once you have installed the AnyConnect Secure Mobility Client, this document is available by clicking on the Help icon on the client.

Information & Communication Technologies FTP and GroupWise Archives Wilfrid Laurier University

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

Troubleshooting / FAQ

Thank you for using Synapse Hosted Exchange service. Please find the instructions for setting up your clients are below:

For paid computer support call

Using Free PGI and Xcode

Accessing your Staff (N and O drive) files from off campus

IHSVPN IHS Secure Network Access

Send Video Recordings from the DVR to a FTP Server on your PC

SATO Network Interface Card Configuration Instructions

Elluminate Live! Access Guide. Page 1 of 7

Apple Mac VPN Service Setting up Remote Desktop

MATLAB on EC2 Instructions Guide

Macs are not directly compatible with Noetix.

Reducing Usage on a Service Plan

Eye-Fi Ad-Hoc network set-up instructions

Windows and MAC User Handbook Remote and Secure Connection Version /19/2013. User Handbook

Installing AGO2GO on a Mac 10.8 or Higher

Instructions for Microsoft Outlook 2003

How to Set Up Your. Account

Installing Your Multifunction to Your Network for the First Time

Software and Settings Instructions

Set up a VPN Connection on Windows

setup information for most domains hosted with InfoRailway.

Connecting To SOM Network Drives With Windows XP

Having Fun with QNAP and your Home Automation

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Transcription:

How To Set Up a VPN Server Using a Mac

How To Set Up a VPN Server Using a Mac 1 How to Set Up a VPN Server Using a Mac 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 Introduction 4 SECTION 1 - Setting Up a Static IP for the Server on the LAN Side 5 SECTION 2 - Creating Account at No-IP.com 12 SECTION 3 - Installing Xcode and Running Command Line Tools 19 SECTION 4 - Installing MacPorts 23 SECTION 5 - Installing Tuntap Drivers 26 SECTION 6 - Donald's Nifty Scripts of Doom 28 SECTION 7 - Opening up UDP Port 1194 33 SECTION 8 - Install VPN Software on ios 36 SECTION 9 - Install VPN Software on OSX 43

How to Set Up a VPN Server Using a Mac How To Set Up a VPN Server Using a Mac - 3

Introduction These instructions may seem arcane and complex but they're really easy if you just follow along step by step. Donald Burr of Otaku No Podcast (otakunopodcast.com) created all of these instructions in text form, Allison just created the ScreenSteps tutorial! I'll be focusing on using a Mac on your home network using an Airport Extreme Router (of course any router will work but the screenshots will be for the Airport). If you have a router capable of installing the Tomato Router Firmware, you should look at Donald's full instructions because you may not need to use a Mac at all for this, your router can do it all. See Donald's notes for other options. Read Donald's instructions ===> here. Steps to Success We're going to go through nine steps, some more complicated than others. In order to connect into your home Mac to use it as a VPN server, we need to give the Mac an internal network static IP and we need to be able to get to your network from the outside, even though you probably don't have a static IP, and that's where No-IP.com comes into play. We need to install Xcode to get the command line tools in order to run MacPorts which lets us use some Linux commands and install what are called Tuntap drivers. Next we'll run some nifty scripts (of doom) from Donald Burr to help us create certificates for each of our devices that need to connect to our VPN. We need to open up one teeny port on our router, and then finally we get to install software on our devices to be able to connect to the VPN server. 1. Setting Up a Static IP for the Server on the LAN Side 2. Creating Account at No-IP.com 3. Installing Xcode and Running Command Line Tools 4. Installing MacPorts 5. Installing Tuntap Drivers 6. Donald s Nifty Scripts of Doom 7. Opening up UDP Port 1194 8. Install VPN Software on ios 9. Install VPN Software on OSX How To Set Up a VPN Server Using a Mac - 4

SECTION 1 - Setting Up a Static IP for the Server on the LAN Side These instructions should be completed on the machine that will become the VPN server. Open Network Preferences How To Set Up a VPN Server Using a Mac - 5

Select Advanced How To Set Up a VPN Server Using a Mac - 6

Copy the Mac Address How To Set Up a VPN Server Using a Mac - 7

Open AirPort Utility Click on your router, in my case it's called White Dart. How To Set Up a VPN Server Using a Mac - 8

Select Enter Router Password Enter your password when prompted and click OK. Select Edit How To Set Up a VPN Server Using a Mac - 9

Select the Network Tab and Click the + Button Paste in the Mac Address You Copied Earlier How To Set Up a VPN Server Using a Mac - 10

Select Update Select Continue Quit Airport Utility when this operation completes. How To Set Up a VPN Server Using a Mac - 11

SECTION 2 - Creating Account at No-IP.com Sign Up for an Account at No-IP.com Navigate to http://www.noip.com and select Sign Up. How To Set Up a VPN Server Using a Mac - 12

Create a Username and Password Enter your Email address. Note the host name shown which is free, but if you want to pay you can get more options. Scroll down to the bottom of the page. Select Sign Up How To Set Up a VPN Server Using a Mac - 13

Email Confirmation Will be Sent Click the Link in the Email How To Set Up a VPN Server Using a Mac - 14

Download the Update Client This client will run in the background and check to see if your IP address has changed, and if it has, will send it to no-ip.com How To Set Up a VPN Server Using a Mac - 15

Download and Install the Client Enter Your No-iP.com Account Info You Just Created This menu should pop up automatically. How To Set Up a VPN Server Using a Mac - 16

Click OK Click on Hosts and Check the Box Next to the Host Name You Chose It may take a few moments for the host name you selected at no-ip.com to show up. Make sure you note this name, you'll need it later. How To Set Up a VPN Server Using a Mac - 17

Select Update Now Turn on the Daemon I chose this rather than running the application in the background all the time. How To Set Up a VPN Server Using a Mac - 18

SECTION 3 - Installing Xcode and Running Command Line Tools Download Xcode Find Xcode in the Mac App Store at https://itunes.apple.com/us/app/xcode/id497799835?mt=12 and install. Install Java Xcode only installs the standalone Java, and it does NOT include the Java Web plugin that has been the subject of so many security vulnerabilities lately. How To Set Up a VPN Server Using a Mac - 19

Select Install Next to Command Line Tools Wait till the installation finishes and quit X-Code Type xcodebuild -license to Open the License Agreement How To Set Up a VPN Server Using a Mac - 20

Start Hitting the Space Bar to Scroll Through the EULA - A LOT of Times Type Agree Type agree How To Set Up a VPN Server Using a Mac - 21

Joy of Agreement How To Set Up a VPN Server Using a Mac - 22

SECTION 4 - Installing MacPorts Download MacPorts Navigate to https://distfiles.macports.org/macports/ and scroll to the bottom to download the installer file for your OS. How To Set Up a VPN Server Using a Mac - 23

Install MacPorts Enter These Commands in the Terminal To run the self update to Macports enter: source ~/.profile then sudo port -v selfupdate and enter your administrator password How To Set Up a VPN Server Using a Mac - 24

Success Open the VPN Software Enter sudo port -v install openvpn2 and watch a lot of glop go by... How To Set Up a VPN Server Using a Mac - 25

SECTION 5 - Installing Tuntap Drivers Download the Tuntap Drivers Download tuntap drivers from http://tuntaposx.sourceforge.net/download.xhtml How To Set Up a VPN Server Using a Mac - 26

Open the Package File (in the folder after tuntap expands) Gatekeeper won't let you just double click on the installer package (it will complain that it is from an unknown source), you have to right click on the installer package and choose "open". How To Set Up a VPN Server Using a Mac - 27

SECTION 6 - Donald's Nifty Scripts of Doom Download Donald's Scripts Download Donald's scripts from: https://dl.dropbox.com/u/169813/openvpn-mac.tar.bz2 Type These Commands to Unarchive the Scripts cd ~/Downloads tar xvjf openvpn-mac.tar.bz2 Setting Up OpenVPN Server We're now going to run Donald's scripts. Enter this command: cd openvpn-mac && sudo bash setup-openvpn-server How To Set Up a VPN Server Using a Mac - 28

Name your Server (I've entered kyles-mac-vpn) Enter the dynamic dns host name you noted back on no-ip.com (you DID note it, right?) Keep Answering Questions The first time through you need to answer these. These steps will be duplicated MANY times, but after this the answers will be there and you can simply hit Enter for each questions. Hit Enter for All These Questions for an RSA Key How To Set Up a VPN Server Using a Mac - 29

And Again for Some Reason Keep Answering... How To Set Up a VPN Server Using a Mac - 30

And Again And Again... How To Set Up a VPN Server Using a Mac - 31

Whew! Enter passphrase and password as many times as they ask for it! Finder Window Opens Showing config-files Copy this file to Dropbox. It will be the first connection file you test. It would be good to name it something associated with the device on which you'll use it (you'll be creating one of these for each of your devices). Create a New VPN Connection Document for Each Device You Have In Terminal, enter: sudo setup-openvpn-client connection-name where connection-name means something to you for each different device you'll want to connect to the VPN server. Move each of these files to Dropbox to be picked up on your devices. How To Set Up a VPN Server Using a Mac - 32

SECTION 7 - Opening up UDP Port 1194 Open Airport Utility Open Airport Utility again, select your Airport again, Select Edit again. Select the Network tab, and select the + under Port Settings How To Set Up a VPN Server Using a Mac - 33

Enter Information As Shown How To Set Up a VPN Server Using a Mac - 34

Select Update Wait until your Airport updates. How To Set Up a VPN Server Using a Mac - 35

SECTION 8 - Install VPN Software on ios Download OpenVPN Download OpenVPN Connect from the itunes App Store. How To Set Up a VPN Server Using a Mac - 36

Open Dropbox Find the file you created and moved into Dropbox and tap on it. How To Set Up a VPN Server Using a Mac - 37

Select the Open In Button in the Bottom Right How To Set Up a VPN Server Using a Mac - 38

Select Open in OpenVPN How To Set Up a VPN Server Using a Mac - 39

Click the Green Plus Button to Import the File How To Set Up a VPN Server Using a Mac - 40

Enter the Password Enter the Password you created in the creation of the file, and tap the Save switch to turn it on. Finally tap the Off Switch to Connect to the VPN. How To Set Up a VPN Server Using a Mac - 41

Connected! How To Set Up a VPN Server Using a Mac - 42

SECTION 9 - Install VPN Software on OSX VPN Software Options on OSX Two options for a VPN application on the Mac. Donald recommended Viscosity from http://www.sparklabs.com/viscosity/download/ which is $9 per Mac. After the show Dr. Matt suggested the free TunnelBlick from http://code.google.com/p/tunnelblick. I installed both and they both work well. This tutorial will be for Viscosity, but if you try Tunnelblick you have to do one thing to make it work. In the Settings, Configuration tab, select Advanced and then uncheck the box to use TunnelBlick's tun/tap drivers. Some people do have trouble with this software so if it doesn't work for you then jump over to Viscosity. Let's keep going with Viscosity as our example. Install Viscosity Click on the icon for Viscosity in the menubar and choose Preferences. How To Set Up a VPN Server Using a Mac - 43

In the Connection Tab Click on the Plus Button at the Bottom Select Import Connection From File... How To Set Up a VPN Server Using a Mac - 44

Navigate to the File You Created for This Device In my case I called it alsmac so I could tell which one to open Connection Imported How To Set Up a VPN Server Using a Mac - 45

Connect Using Menu Bar App Enter the Password You Created No clue which one of the 198 I entered, luckily I typed the same one over and over again. Fleeting Notification of Connection To test mine at home I used a Mifi so I was on a different network. How To Set Up a VPN Server Using a Mac - 46

Use the Menubar Icon to Disconnect When You're Through If you want to prove to yourself that you're on VPN - go to http://ipchicken.com before and after you VPN and you'll find that your IP changes to your home IP. Congratulations! How To Set Up a VPN Server Using a Mac - 47