NAS 323 Using Your NAS as a VPN Server



Similar documents
NAS 322 Connecting Your NAS to a VPN

NAS 206 Using NAS with Windows Active Directory

NAS 221 Remote Access Using Cloud Connect TM

NAS 225 Introduction to FTP Explorer

INTRODUCTION... 2 Windows Windows Mac OS X Ubuntu Advanced routing Windows Mac OS X Ubuntu...

Connection. to SECON-Server

NAS 109 Using NAS with Linux

NAS 208 WebDAV A Secure File Sharing Alternative to FTP

Hallpass Instructions for Connecting to Mac with a Mac

For paid computer support call

BRIC VPN Setup Instructions

NAS 107 Introduction to Control Center

Virtual Office Remote Installation Guide

How to setup PPTP VPN connection with DI-804HV or DI-808HV using Windows PPTP client

Mac OS X: INSTALLING TUNNELBLICK

NAS 272 Using Your NAS as a Syslog Server

SSL VPN Setup for Windows

How to Setup PPTP VPN Between a Windows PPTP Client and the DIR-130.

VPN s and Mobile Apps for Security Camera Systems: EyeSpyF-Xpert

Remote Desktop Services

NAS 253 Introduction to Backup Plan

Enable VPN PPTP Server Function

Sophos UTM. Remote Access via PPTP Configuring Remote Client

Phone: Fax: Box: 230

NAS 103 Wake-on-LAN (WOL) Set up and use WOL with your ASUSTOR NAS

How to use SURA in three simple steps:

Mac OS VPN Set Up Guide

Client applications are available for PC and Mac computers and ios and Android mobile devices. Internet

NAS 321 Hosting Multiple Websites with a Virtual Host

Sophos UTM. Remote Access via SSL Configuring Remote Client

How to setup a VPN on Windows XP in Safari.

DIS VPN Service Client Documentation

How to install and use the File Sharing Outlook Plugin

NAS 242 Using AiMaster on Your Mobile Devices

Purple Sturgeon Standard VPN Installation Manual for Windows XP

MODEM AND DIAL-UP. Installation/Configuration (Windows 95/98/Me/NT/2000/XP)

Configuring VPN Using Windows XP

NAS 259 Protecting Your Data with Remote Sync (Rsync)

QUANTIFY INSTALLATION GUIDE

HWS Virtual Private Network Configuration and Setup Mac OS X 12/19/2006

Accessing the Media General SSL VPN

Windows Vista: Connecting to the wireless network at Hood College

IIS, FTP Server and Windows

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

How to set up as VPN Network

ipad Installation and Setup

APSCN VPN Settings for Windows 7 2. APSCN VPN Settings for Windows XP 8. APSCN VPN Settings for MAC OS 15

École des Ponts Paristech DSI. Installing OpenVPN

Sophos UTM. Remote Access via IPsec Configuring Remote Client

How to Install a Network-Licensed Version of IBM SPSS Statistics 19

owncloud Configuration and Usage Guide

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

VPN Remote Access Installation and Configuration Guide Operating System: Windows (XP, Vista, 7 and 8)

NAS 224 Remote Access Manual Configuration

VPN: Virtual Private Network Setup Instructions

CONFIGURING AND USING THE BUILT-IN MAC OS X VPN CLIENT WITH THE UH VPN SERVER

Global VPN Client Getting Started Guide

Phone: Fax: Box: 230

Securepoint Security Systems

APSCN VPN Instructions for VPN Setup on Windows and MAC OS

University Computing & Telecommunications Virtual Private Networking: How To/Self- Help Guide Windows 8.1 Operating System.

If you already have Uninstalled SonicWALL Global VPN client, or never had it installed you can skip this step.

Sophos UTM. Remote Access via PPTP. Configuring UTM and Client

If you have questions or find errors in the guide, please, contact us under the following address:

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

Allworx Installation Course

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

Shellfire L2TP-IPSec Setup Windows XP

Aventail Connect Client with Smart Tunneling

Stealth OpenVPN and SSH Tunneling Over HTTPS

(this is being worked on)

Safety and Health Grant Program Database Remote Access Installation Guide

Bloomfield Hills Schools VPN and Viewconnect Instructions

Using the ECM VPN with Windows 7

Sentral servers provide a wide range of services to school networks.

Configure VPN between ProSafe VPN Client Software and FVG318

Installing TestNav Mac with Apple Remote Desktop

Connecting to LRDC Fileserver Remotely Using Windows XP & SRemote VPN

Enterprise Apple Xserve Wiki and Blog using Active Directory. Table Of Contents. Prerequisites 1. Introduction 1

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

How To Industrial Networking

Quick Installation Guide DAP Wireless N 300 Access Point & Router

Astaro Security Gateway V8. Remote Access via L2TP over IPSec Configuring ASG and Client

Setting Up Scan to SMB on TaskALFA series MFP s.

Junos Pulse VPN Client Installation

Undergraduate Academic Affairs \ Student Affairs IT Services. VPN and Remote Desktop Access from a Windows 7 PC

Connecting to LRDC Fileserver Remotely Using Windows Vista/7 & SRemote VPN

2. The application will appear in the Applications folder. Once installed, launch Microsoft Remote Desktop from the Applications folder on your Mac.

How to make a VPN connection to our servers from Windows 8

Configuring TheGreenBow VPN Client with a TP-LINK VPN Router

NF5 VOIP Setup Guide (for Generic)

Benefits of the Integrated Firewall in Anonyproz OpenVPN GUI Client

OpenVPN over SSH tunneling

Cox Managed CPE Services. RADIUS Authentication for AnyConnect VPN Version 1.3 [Draft]

The ECU Wireless system uses a captive portal authentication system. There are three steps to configure your computer for wireless access:

Setting Up VPN Connection to use Internet Access. 2. Right click on the appropriate VPN connection and click properties

OSPI SFTP User Guide

How To Connect To An Egrabit With A Vpn On A Pc Or Mac Or Ipad (For Pc Or Ipa) With A Pv (For Mac) Or Ipv (Femalese) With An Ipv Or Ip

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

Transcription:

NAS 323 Using Your NAS as a VPN Server Use your NAS as a VPN Server and connect to it using Windows and Mac A S U S T O R C O L L E G E

COURSE OBJECTIVES Upon completion of this course you should be able to: 1. Be able to use your ASUSTOR NAS as a VPN server and connect to it using Windows and Mac. PREQUISITES Course Prerequisites: None Students are expected to have a working knowledge of: N/A OUTLINE 1. Configuring Your VPN Server 1.1 Enabling and configuring PPTP connections 1.2 Enabling and configuring OpenVPN connections 2. Connecting to Your VPN Server Using Windows and Mac 2.1 Connecting to your VPN server via PPTP 2.1.1 Connecting using Windows 7 2.1.2 Connecting using a Mac 2.2 Connecting to your VPN server via OpenVPN 2.2.1 Connecting using Windows 7 2.2.2 Connecting using a Mac 2.3 Configuring the gateway and routing for the VPN client 2.3.1 Configurations using Windows 7 2.3.2 Configurations using a Mac A S U S T O R C O L L E G E / 2

1. Configuring Your VPN Server In the following example, we wil configure ASUSTOR NAS s VPN Server. Before you begin, log in to ADM from your Web browser and then search for and install [VPN Server] from [App Central]. 1.1 Enabling and configuring PPTP connections STEP 1 Enabling PPTP service: You can use the toggle found under [PPTP] to enable PPTP service. A S U S T O R C O L L E G E / 3

STEP 2 Adding a new user: Select [Privilege] [User] [Add]. In the graphic below, we have chosen to add the account vpn as an example. After you have chosen the user that wish to add, click on [Save]. Select the [PPTP] checkbox and then click on [Apply]. Now, the vpn user account will be able to utilize PPTP connections. A S U S T O R C O L L E G E / 4

STEP 3 Configuring advanced settings: Select [Settings] [PPTP]. Here, you will be able to configure settings for [Dynamic IP address], [Max. client number], [Authentication], [Max. MTU], [Max. MRU] and [DNS server]. Make sure to click on [Apply] after you have made any changes to the settings. 1.2 Enabling and configuring OpenVPN connections STEP 1 Enabling OpenVPN service: You can use the toggle found under [OpenVPN] to enable OpenVPN service. A S U S T O R C O L L E G E / 5

STEP 2 Adding a new user: Select [Privilege] [User] [Add]. In the graphic below, we have chosen to add the account vpn as an example. After you have chosen the user that wish to add, click on [Save]. Select the [OpenVPN] checkbox and then click on [Apply]. Now, the vpn user account will be able to utilize PPTP connections. A S U S T O R C O L L E G E / 6

STEP 3 Configuring advanced settings: Select [Settings] [OpenVPN]. Here, you will be able to configure settings for [Dynamic IP address], [Transmission Protocol], [Port], [Max. client number], [Checksum (Digest)], [Encryption (Cipher)], [DNS server], [Redirect gateway] and [VPN link compression]. Make sure to click on [Apply] after you have made any changes to the settings. Note: Click on the [Download configuration file] button to download the configuration file for OpenVPN clients. You must import this file to your VPN client in order to successfully create OpenVPN connections. A S U S T O R C O L L E G E / 7

2. Connecting to Your VPN Server Using Windows and Mac 2.1 Connecting to your VPN server via PPTP 2.1.1 Connecting using Windows 7 STEP 1 Select [Control Panel] [All Control Panel Items] [Network and Sharing Center] [Set up a new connection or network]. A S U S T O R C O L L E G E / 8

STEP 2 Select [Connect to a workplace] [Next]. STEP 3 Select [No, create a new connection] [Next]. A S U S T O R C O L L E G E / 9

STEP 4 Select [Use my Internet connection (VPN)]. STEP 5 Enter the IP address of your ASUSTOR NAS into the [Internet address] field and then click on [Next]. A S U S T O R C O L L E G E / 10

STEP 6 Enter a username and password in the appropriate fields and then click on [Connect]. You will now be able to access your ASUSTOR NAS through Windows. Note: If you are unable to connect to your VPN server, please ensure that your VPN settings are identical to your VPN server settings. For example, in the graphic below, we check that the [Type of VPN] is Point to Point Tunneling Protocol (PPTP), that the [Data encryption] method is PAP or MS-CHAP v2 and that they have been allowed under the [Allow these protocols] radio button. A S U S T O R C O L L E G E / 11

2.1.2 Connecting using a Mac STEP 1 From the Apple menu, select [System Preferences ]. STEP 2 Select [Network]. A S U S T O R C O L L E G E / 12

STEP 3 Click on the [ + ] button and then select [VPN] for Interface, [PPTP] for VPN Type, fill in the Service Name as VPN (PPTP) and then click on [Create]. STEP 4 Enter your [Server Address] and [Account Name], select None for [Encryption] and then click on [Connect]. Please ensure that your VPN client settings and VPN server settings are identical. A S U S T O R C O L L E G E / 13

STEP 5 Enter the name and password for your VPN server and then click on [OK]. STEP 6 You should now be successfully connected and should be able to access your ASUSTOR NAS using your Mac. You can disconnect the connection at any time by clicking on the [Disconnect] button. A S U S T O R C O L L E G E / 14

2.2 Connecting to your VPN server via OpenVPN 2.2.1 Connecting using Windows 7 STEP 1 Download and install the OpenVPN program from the OpenVPN website. STEP 2 Extract the OpenVPN configuration file that you have downloaded from your ASUSTOR NAS s VPN server (see section 3.2). Open the [asustor.ovpn] file, change the IP address for the VPN server and then save the changes. In the graphic below, we have changed the IP address of the VPN server to 172.16.2.102. A S U S T O R C O L L E G E / 15

STEP 3 Copy the [asustor.ovpn] and [ca.crt] files to the (C:\Program Files\OpenVPN\config\) folder. STEP 4 Open [OpenVPN GUI]. You should now be able to see the [OpenVPN GUI] icon in your system tray. Double-click on it. STEP 5 Enter the username and password for your ASUSTOR NAS VPN server and then click on [OK]. A S U S T O R C O L L E G E / 16

STEP 6 After successfully connecting, you should be able to see that the OpenVPN GUI icon in your system tray has turned green. You should now be able to access your ASUSTOR NAS using Windows. 2.2.2 Connecting using a Mac STEP 1 Download tunnelblick. A S U S T O R C O L L E G E / 17

STEP 2 Install [Tunnelblick]. After installation, click on [Launch]. A S U S T O R C O L L E G E / 18

STEP 3 Click on [I have configuration files]. If you have already download the configuration file from your ASUSTOR NAS s VPN server, click on [OpenVPN Configuration(s)]. A S U S T O R C O L L E G E / 19

You should now be able to see the newly created [Empty Tunnelblick VPN Configuration] folder on your desktop. Copy the configuration file from your ASUSTOR NAS s VPN server to this folder. Open the [asustor.ovpn] file and then change the IP address for your ASUSTOR NAS VPN server. A S U S T O R C O L L E G E / 20

After saving the changes to the file, change the name of the folder to ASUSTORVPN.tblk. Tunnelblick VPN configurations should have now been installed successfully. A S U S T O R C O L L E G E / 21

STEP 4 From the Mac menu bar, click on the [Tunnelblick] icon and then select [Connect ASUSTORVPN]. STEP 5 After successfully connecting, you will be able to see the connection status and time in the menu bar as shown in the graphic below. A S U S T O R C O L L E G E / 22

2.3 Configuring the gateway and routing for the VPN client When using a VPN client, the system will automatically forward your VPN server s default gateway. Under these circumstances, you will not be able to connect to the Internet. Therefore, we must change the VPN gateway and routing in order to connect to the Internet. 2.3.1 Configurations using Windows 7 STEP 1 Right-click on your VPN connection and then select [Properties]. Select [Internet Protocol Version 4 (TCP/IPv4)] and then click on [Properties]. A S U S T O R C O L L E G E / 23

STEP 2 Click on [Advanced ]. STEP 3 Uncheck the [Use default gateway on remote network] checkbox. A S U S T O R C O L L E G E / 24

2.3.2 Configurations using a Mac STEP 1 Open [Terminal] and then enter the command ifconfig-a. You will now be able to see your VPN server s IP address. Note that the Mac operating system only provides this gateway for connecting to a VPN server and cannot connect to the Internet. Therefore, we will have to manually enter the IP address for the ASUSTOR NAS. STEP 2 Please replace either 10.0.1.6 or 10.0.1.5 with the IP address of the ASUSTOR NAS. Executing the commands below will allow you to connect to the Internet. sudo route add net 172.16.1.216/16 10.0.1.6 OR sudo route add net 172.16.1.216/16 10.0.1.5 A S U S T O R C O L L E G E / 25