Difference between revisions of "CMU OpenVPN EN"
Thomhathai (talk | contribs) |
|||
(37 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
== Using on the Windows operating system == | == Using on the Windows operating system == | ||
=== Installation === | === Installation === | ||
− | 1. You must download the installation from [https://openvpn.net/ | + | 1. You must download the installation from [https://openvpn.net/client-connect-vpn-for-windows/ OpenVPN Connect for Windows] then enter Windows installer <br><br>[[File:Win ovpn connect 01.png|link=]]<br><br> |
− | 2. To install, start downloaded installer by click | + | 2. To install, start downloaded installer by click Install and Next following procedures<br><br> |
− | [[File: | + | [[File:Win ovpn connect 09.png|link=]]<br><br> |
− | [[File: | + | [[File:Win ovpn connect 06.png|link=]]<br><br> |
− | [[File: | + | [[File:Win ovpn connect 07.png|link=]]<br><br> |
− | [[File: | + | [[File:Win ovpn connect 08.png|link=]]<br><br> |
− | + | [[File:Win ovpn connect 10.png|link=]]<br><br> | |
− | |||
− | |||
− | |||
=== Connection === | === Connection === | ||
− | 1. Open the OpenVPN | + | 1.Download file for connecting from [https://network.cmu.ac.th/cmu.ovpn https://network.cmu.ac.th/cmu.ovpn] <br><br> |
− | [[File: | + | 2.Next ,Open the OpenVPN Connect program,choose '''FILE''' then browse to '''cmu.ovpen''' file,you just downloaded.<br><br> |
− | + | [[File:Win open connect 11.png|link=]]<br><br> | |
− | [[File: | + | 3.Enter your '''CMU Account''' <u>''If you want to remember password for the next time , select Save Password (Recommended for Personal Devices Only)''</u> Select '''Connect after import''' , then press '''Add'''<br/><br/> [[File:Openmac11.png | link=]] <br/><br/> |
− | + | 4. When the connecting is success, OpenVPN Connect appears as below <br/><br/> [[File:Openmac12.png | link=]] <br/><br/> | |
− | [[File: | + | 5. To disconnect ,turn the green botton off and press '''OK'''<br/><br/> [[File:Openmac13.png | link=]] [[File:Openmac14.png | link=]] <br/><br/> |
− | |||
− | [[File: | ||
− | == | + | == Using on the Ubantu Linux operating system == |
− | === | + | === Installation === |
− | 1. | + | 1. Open the Terminal then add the command |
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
sudo apt install openvpn -y | sudo apt install openvpn -y | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Please specified your correctly password and the system will install openvpn | |
<br> | <br> | ||
− | 2. | + | 2. Download file for connecting by add the command in terminal |
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
cd ~ | cd ~ | ||
wget https://network.cmu.ac.th/cmu.ovpn | wget https://network.cmu.ac.th/cmu.ovpn | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | === Connection === |
− | 1. | + | 1. Open the terminal then add the command |
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
cd ~ | cd ~ | ||
sudo openvpn --config cmu.ovpn | sudo openvpn --config cmu.ovpn | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | 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 |
+ | |||
[[File:01-ubuntu-teminal.PNG|link=]] | [[File:01-ubuntu-teminal.PNG|link=]] | ||
− | == | + | == Using on the Android == |
− | === | + | === Installation === |
− | 1. | + | 1. Download the OpenVPN Connect application from Playstore<br><br> |
[[File:OpenVPN_Android_install.png|link=| border]] <br><br> | [[File:OpenVPN_Android_install.png|link=| border]] <br><br> | ||
− | 2. | + | 2. 2. Download file for connecting from [https://network.cmu.ac.th/web/cmu.ovpn https://network.cmu.ac.th/web/cmu.ovpn] <br><br> |
− | === | + | === Connection === |
− | 1. | + | 1. Getting to the application and choose OVPN Profile<br><br> |
[[File:OpenVPN_Android_1.png|link=| border]] <br><br> | [[File:OpenVPN_Android_1.png|link=| border]] <br><br> | ||
− | 2. | + | 2. Then going to the folder cmu.ovpn file<br><br> |
[[File:OpenVPN_Android_2.png|link=| border]] <br><br> | [[File:OpenVPN_Android_2.png|link=| border]] <br><br> | ||
− | 3. | + | 3. Enter cmu.ovpn file then click IMPORT<br><br> |
[[File:OpenVPN_Android_3.png|link=| border]] <br><br> | [[File:OpenVPN_Android_3.png|link=| border]] <br><br> | ||
− | 4. | + | 4. Add your CMU Account at username <br> |
[[File:OpenVPN_Android_4.png|link=| border]] <br><br> | [[File:OpenVPN_Android_4.png|link=| border]] <br><br> | ||
− | 5. | + | 5. To connect please click as following <br><br> |
[[File:OpenVPN_Android_5.png|link=| border]] <br><br> | [[File:OpenVPN_Android_5.png|link=| border]] <br><br> | ||
− | 6. | + | 6. Fill your CMU Account Password<br><br> |
[[File:OpenVPN_Android_6.png|link=| border]] <br><br> | [[File:OpenVPN_Android_6.png|link=| border]] <br><br> | ||
− | 7. | + | 7. Click OK <br> |
[[File:OpenVPN_Android_7.png|link=| border]] <br><br> | [[File:OpenVPN_Android_7.png|link=| border]] <br><br> | ||
− | 8. | + | 8. When the connection is success will show the window as following <br><br> |
[[File:OpenVPN_Android_8.png|link=| border]] <br><br> | [[File:OpenVPN_Android_8.png|link=| border]] <br><br> | ||
− | 9. | + | 9. You can check your information which slide down<br><br> |
[[File:OpenVPN_Android_9.png|link=| border]] <br><br> | [[File:OpenVPN_Android_9.png|link=| border]] <br><br> | ||
− | 10. | + | 10. If you want to disconnecting you can enter as following<br><br> |
[[File:OpenVPN_Android_10.png|link=| border]] <br><br> | [[File:OpenVPN_Android_10.png|link=| border]] <br><br> | ||
− | 11. | + | 11. Click OK for disconnect<br><br> |
[[File:OpenVPN_Android_11.png|link=| border]] <br><br> | [[File:OpenVPN_Android_11.png|link=| border]] <br><br> | ||
− | == | + | == Using on the IOS == |
− | === | + | === For installation and connection === |
− | # | + | # Getting to App store to install the OpenVPN Connect application<br/><br/> [[File:IOS OVPN 1.jpg | link=]] <br/><br/> |
− | # | + | # Download file for connecting from [https://network.cmu.ac.th/cmu.ovpn https://network.cmu.ac.th/cmu.ovpn] <br/><br/> |
− | # | + | # After that, choose Open in "OpenVPN" <br/><br/> [[File:IOS OVPN 2.jpg | link=]] <br/><br/> |
− | # | + | # On the Import Profile window please click ADD <br/><br/> [[File:IOS OVPN 3.jpg | link=]] <br/><br/> |
− | # | + | # On the Imported Profile window please specified your CMU Account on username then click ADD and accept Allow <br/><br/> [[File:IOS OVPN 4.jpg | link=]] [[File:IOS OVPN 5.jpg | link=]]<br/><br/> |
− | # | + | # Please Turn on at the OVPN Profiles window for using after that, fill your CMU Account password and click OK <br/><br/> [[File:IOS OVPN 6.jpg | link=]] [[File:IOS OVPN 7.jpg | link=]] [[File:IOS OVPN 8.jpg | link=]]<br/><br/> |
− | # | + | # When the connection is success will show the window as following <br/><br/> [[File:IOS OVPN 9.jpg | link=]]<br/><br/> |
− | # | + | # You can Turn off when you want to disconnecting and click OK <br/><br/> [[File:IOS OVPN 10.jpg | link=]] [[File:IOS OVPN 11.jpg | link=]]<br/><br/> |
− | == | + | == Using on the macOS == |
− | === | + | === Installation === |
− | # Download | + | # Download the OpenVPN Connect program from [https://openvpn.net/client-connect-vpn-for-mac-os/ OpenVPN Connect for macOS] and choose '''Download OpenVPN Connect v3''' <br/><br/> [[File:Openmac01.png | link=]] <br/><br/> |
− | # | + | # After that, you have to double click downloaded file and double click again to start intallation.<br/><br/> [[File:Openmac02.png | link=]] [[File:Openmac03.png | link=]]<br/><br/> |
− | # | + | # Please follow the picture below.<br/><br/> [[File:Openmac04.png | link=]] [[File:Openmac05.png | link=]]<br/><br/> [[File:Openmac06.png | link=]] [[File:Openmac07.png | link=]]<br/><br/>[[File:Openmac08.png | link=]] <br/><br/> |
− | + | === Connection === | |
− | + | # Download file for connecting from [https://network.cmu.ac.th/cmu.ovpn https://network.cmu.ac.th/cmu.ovpn] <br/><br/> | |
− | + | # Right click a file that you are download then choose Open with OpneVPN Connect <br/><br/> [[File:Openmac09.png | link=]] <br/><br/> | |
− | === | + | # Select '''Agree''' to accept the software license agreement <br/><br/> [[File:Openmac10.png | link=]] <br/><br/> |
− | # | + | # Enter your '''CMU Account''' <u>''If you want to remember password for the next time , select Save Password (Recommended for Personal Devices Only)''</u> Select '''Connect after import''' , then press '''Add'''<br/><br/> [[File:Openmac11.png | link=]] <br/><br/> |
− | # | + | # When the connecting is success, OpenVPN Connect appears as below <br/><br/> [[File:Openmac12.png | link=]] <br/><br/> |
− | # | + | # To disconnect ,turn the green botton off and press '''OK'''<br/><br/> [[File:Openmac13.png | link=]] [[File:Openmac14.png | link=]] <br/><br/> |
− | # | ||
− | |||
− | # | ||
− | # | ||
− | |||
− | |||
− | == | + | == How to resolve when you found Errors == |
=== OpenVPN Error : There are no TAP-Windows adapters on this system.=== | === OpenVPN Error : There are no TAP-Windows adapters on this system.=== | ||
− | # | + | # If you face error following <br> [[File:Addtap01.jpg|link=]]<br><br> |
− | # | + | # 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 |
+ | <br><br> [[File:Addtap02.jpg|link=]]<br><br> | ||
=== OpenVPN Error : All TAP-Windows adapters on this system are currently in use === | === OpenVPN Error : All TAP-Windows adapters on this system are currently in use === | ||
− | ==== Solution | + | ==== First Solution: Re-enable the adapter ==== |
− | # | + | # 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''' |
<br><br> [[File:ReEnable.jpg|link=]]<br><br> | <br><br> [[File:ReEnable.jpg|link=]]<br><br> | ||
− | ==== Solution | + | ==== Second Solution: reinstall the TAP driver ==== |
− | # | + | # Going to path '''C:\ Program Files \ TAP-Windows''', right click at '''Unintall''' choose '''Run as administrator'' |
− | # | + | <br><br> [[File:Tapdriver.jpg|link=]]<br><br> |
− | # | + | # Restart Windows |
+ | # After that, download the Tap driver from OpenVPN [https://swupdate.openvpn.org/community/releases/tap-windows-9.21.2.exe repository] and installation by right click '''Run as administrator'' | ||
+ | <br><br> [[File:Tapdriver01.png|link=]]<br><br> | ||
− | == link | + | == Others link == |
− | *[ | + | *[https://en.wikipedia.org/wiki/OpenVPN VPN on wikipedia] |
*[https://openvpn.net/ https://openvpn.net/] | *[https://openvpn.net/ https://openvpn.net/] | ||
− | == | + | == More Contact == |
− | Onestop Service | + | Onestop Service Informatiom Technology Service Center, Chiang Mai University<br> |
− | + | Tel : 0-5394-3827<br> | |
− | + | Email : [mailto:onestop@cmu.ac.th onestop@cmu.ac.th] |
Latest revision as of 07:24, 1 August 2024
Introduction
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
- To use this research network is only for studying or searching or in the correctly way
- To use this research network will be saved using according to infringe law as Thailand’s 2007 Cybercrime
- 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
- 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
- To use this research network will used only for University allowing website for not to use the University resources in the wrong way
- 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 OpenVPN Connect for Windows then enter Windows installer
2. To install, start downloaded installer by click Install and Next following procedures
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.
3.Enter your CMU Account If you want to remember password for the next time , select Save Password (Recommended for Personal Devices Only) Select Connect after import , then press Add
4. When the connecting is success, OpenVPN Connect appears as below
5. To disconnect ,turn the green botton off and press OK
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
Using on the Android
Installation
1. Download the OpenVPN Connect application from Playstore
2. 2. Download file for connecting from https://network.cmu.ac.th/web/cmu.ovpn
Connection
1. Getting to the application and choose OVPN Profile
2. Then going to the folder cmu.ovpn file
3. Enter cmu.ovpn file then click IMPORT
4. Add your CMU Account at username
5. To connect please click as following
6. Fill your CMU Account Password
7. Click OK
8. When the connection is success will show the window as following
9. You can check your information which slide down
10. If you want to disconnecting you can enter as following
11. Click OK for disconnect
Using on the IOS
For installation and connection
- Getting to App store to install the OpenVPN Connect application
- Download file for connecting from https://network.cmu.ac.th/cmu.ovpn
- After that, choose Open in "OpenVPN"
- On the Import Profile window please click ADD
- On the Imported Profile window please specified your CMU Account on username then click ADD and accept Allow
- Please Turn on at the OVPN Profiles window for using after that, fill your CMU Account password and click OK
- When the connection is success will show the window as following
- You can Turn off when you want to disconnecting and click OK
Using on the macOS
Installation
- Download the OpenVPN Connect program from OpenVPN Connect for macOS and choose Download OpenVPN Connect v3
- After that, you have to double click downloaded file and double click again to start intallation.
- Please follow the picture below.
Connection
- Download file for connecting from https://network.cmu.ac.th/cmu.ovpn
- Right click a file that you are download then choose Open with OpneVPN Connect
- Select Agree to accept the software license agreement
- Enter your CMU Account If you want to remember password for the next time , select Save Password (Recommended for Personal Devices Only) Select Connect after import , then press Add
- When the connecting is success, OpenVPN Connect appears as below
- To disconnect ,turn the green botton off and press OK
How to resolve when you found Errors
OpenVPN Error : There are no TAP-Windows adapters on this system.
- If you face error following
- 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
OpenVPN Error : All TAP-Windows adapters on this system are currently in use
First Solution: Re-enable the adapter
- 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
Second Solution: reinstall the TAP driver
- Going to path C:\ Program Files \ TAP-Windows', right click at Unintall choose Run as administrator
- Restart Windows
- After that, download the Tap driver from OpenVPN repository and installation by right click 'Run as administrator
Others link
More Contact
Onestop Service Informatiom Technology Service Center, Chiang Mai University
Tel : 0-5394-3827
Email : onestop@cmu.ac.th