CMU OpenVPN EN

From CMU ITSC Network

Introduction

VPN.gif
VPN or (Virtual Private Network) is use tunneling techniques to run on the internet, no matter where you are as you can still use the University network. After you connect the VPN all data will run to the University network before going out to the internet. By reason of the VPN connection makes it as though use the university network, therefore allowing access to various resources which is restricted to use only at University such as the research resources, various of library article, or online studying teaching system you can be obtained from anywhere, which the VPN connection must be verified by an CMU IT account before connecting every time.


Please Note

In case of you already use University internal network such as Faculty internal network, CMU wireless network, or Jumbo Net what’s you no need to access connecting openvpn for use the internet because it is the same line and it going to increase the burden of openvpn servers, thus blocking the openvpn connection from the University network


Terms

  1. To use this research network is only for studying or searching or in the correctly way
  2. To use this research network will be saved using according to infringe law as Thailand’s 2007 Cybercrime
  3. In case of, if admin found that the usage affects to the system or the usage of other users, admin can terminate or decide to the user immediately without notice
  4. According to infringe law as Thailand’s 2007 Cybercrime, the account holder that infringe law must be law prosecuted regardless who uses the account, therefore the user must use their personal accounts. Do not distribute to others because of the account holder will solely responsible for the consequences
  5. To use this research network will used only for University allowing website for not to use the University resources in the wrong way
  6. To access CMU OpenVPN with the CMU account means you already accepted this terms

Using on the Windows operating system

Installation

1. You must download the installation from https://openvpn.net/client-connect-vpn-for-windows/ then enter Windows installer

Win ovpn connect 01.png

2. To install, start downloaded installer by click Install and Next following procedures

Win ovpn connect 09.png

Win ovpn connect 06.png

Win ovpn connect 07.png

Win ovpn connect 08.png

Win ovpn connect 10.png

Connection

1.Download file for connecting from https://network.cmu.ac.th/cmu.ovpn

2.Next ,Open the OpenVPN Connect program,choose FILE then browse to cmu.ovpen file,you just downloaded.

06-windows-openvpn-gui.PNG

3.Enter your CMU Account and click OK'

070-windows-connect-icon.jpg

08-windows-connect.PNG

09-windows-auth.PNG

4. When the connecting is success, the icon will be a green 10-windows-auth-ok.PNG, the right clicks on icon, you can disconnect anytime

11-windows-disconnect.PNG

Using on the Ubantu Linux operating system

Installation

1. Open the Terminal then add the command

sudo apt install openvpn -y

Please specified your correctly password and the system will install openvpn
2. Download file for connecting by add the command in terminal

cd ~
wget https://network.cmu.ac.th/cmu.ovpn

Connection

1. Open the terminal then add the command

cd ~
sudo openvpn --config cmu.ovpn

Please specified the instrument password by @cmu.ac.th and the password respectively will find the terminal window as in the image Always open the terminal all time in using OpenVPN and you can close terminal anytime you want to disconnected

01-ubuntu-teminal.PNG

Using on the Android

Installation

1. Download the OpenVPN Connect application from Playstore

OpenVPN Android install.png

2. 2. Download file for connecting from https://network.cmu.ac.th/cmu.ovpn

Connection

1. Getting to the application and choose OVPN Profile

OpenVPN Android 1.png

2. Then going to the folder cmu.ovpn file

OpenVPN Android 2.png

3. Enter cmu.ovpn file then click IMPORT

OpenVPN Android 3.png

4. Add your CMU Account at username
OpenVPN Android 4.png

5. To connect please click as following

OpenVPN Android 5.png

6. Fill your CMU Account Password

OpenVPN Android 6.png

7. Click OK
OpenVPN Android 7.png

8. When the connection is success will show the window as following

OpenVPN Android 8.png

9. You can check your information which slide down

OpenVPN Android 9.png

10. If you want to disconnecting you can enter as following

OpenVPN Android 10.png

11. Click OK for disconnect

OpenVPN Android 11.png

Using on the IOS

For installation and connection

  1. Getting to App store to install the OpenVPN Connect application

    IOS OVPN 1.jpg

  2. Download file for connecting from https://network.cmu.ac.th/cmu.ovpn

  3. After that, choose Open in "OpenVPN"

    IOS OVPN 2.jpg

  4. On the Import Profile window please click ADD

    IOS OVPN 3.jpg

  5. On the Imported Profile window please specified your CMU Account on username then click ADD and accept Allow

    IOS OVPN 4.jpg IOS OVPN 5.jpg

  6. Please Turn on at the OVPN Profiles window for using after that, fill your CMU Account password and click OK

    IOS OVPN 6.jpg IOS OVPN 7.jpg IOS OVPN 8.jpg

  7. When the connection is success will show the window as following

    IOS OVPN 9.jpg

  8. You can Turn off when you want to disconnecting and click OK

    IOS OVPN 10.jpg IOS OVPN 11.jpg

Using on the macOS

Installation

  1. Download the Tunneblick program from tunnelblick and click Open at file.dmg

    VPNOSX 1.png

  2. After that, you have to double click at icon Tunnelblick

    VPNOSX 2.png

  3. If it shows same the image please choose Open

    VPNOSX 3.png

  4. Add your computer password, in case of new program installation then click OK

    VPNOSX 4.png

  5. In the Welcome to Tunnelblick window please choose I have configuration files

    VPNOSX.png

Connection

  1. Download file for connecting from https://network.cmu.ac.th/cmu.ovpn

  2. Right click a file that you are download then choose Open with Tunnelblick

    VPNOSX 5.png

  3. In the Install Configuration for All User window and enter Only Me

    VPNOSX 6.png

  4. Add your computer password, in case of change the computer config after that click OK

    VPNOSX 7.png

  5. Click icon Tunneblick on task bar and choose Connect CMU

    VPNOSX 8.png

  6. Specify your CMU Account that receive from the university after that click OK

    VPNOSX 9.png

  7. If it shows same the image please choose Do not warn about this again and OK

    VPNOSX 10.png

  8. When the connection is success will show the window as following

    VPNOSX 11.png

  9. You can choose Disconnect CMU for disconnectiong

    VPNOSX 12.png

How to resolve when you found Errors

OpenVPN Error : There are no TAP-Windows adapters on this system.

  1. If you face error following
    Addtap01.jpg

  2. Getting to path C:\Program Files \ TAP-Windowns \ bin\ addtap.bat then double right click at addtap.bat choose Run as administrator and re-connect OpenVPN



Addtap02.jpg

OpenVPN Error : All TAP-Windows adapters on this system are currently in use

First Solution: Re-enable the adapter

  1. Going to Control Panel choose Network and Internet then Network and Sharing Center then Change adapter settings. And find the TAP-Windows Adapter icon after that right click at icon choose Disable and re-click again then click Enable



ReEnable.jpg

Second Solution: reinstall the TAP driver

  1. Going to path C:\ Program Files \ TAP-Windows', right click at Unintall choose Run as administrator



Tapdriver.jpg

  1. Restart Windows
  2. After that, download the Tap driver from OpenVPN repository and installation by right click 'Run as administrator



Tapdriver01.png

Others link

More Contact

Onestop Service Informatiom Technology Service Center, Chiang Mai University
Tel : 0-5394-3827
Email : onestop@cmu.ac.th