Difference between revisions of "VPN, Virtual private network"

From IThelp @ UiB
Jump to: navigation, search
(Detailed instructions for various systems)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[no:VPN, Virtual private network]]
+
<!--[[file:Vpn_trans.png|right|200px]]-->VPN (Virtual Private Network) is a way to connect to the UiB network even if you are not on campus. This allows you to access UiB's IT services (such as your home directory and public folders or printing via Pullprint) even if you are located somewhere other than the campus.
 +
 
 +
VPN also provides more secure data transmission both on UiB's physical data network and on the Internet.
 +
 
 +
VPN connection to UiB can be used from all computers and most mobile devices connected to the Internet.
 +
 
 +
==Simple instructions for connecting to VPN==
 +
If you need more detailed instruction or these are not suitable for your computer, please see links to other guides below.
 +
 
 +
If you have a '''Windows 10 UiB PC''', UiB VPN is already set up. Open the network connection "UiB VPN", select "Connect" and log in.
  
==You can connect to the UiB network using VPN==
+
If you have a '''private PC or other computer''', you must first connect to UiB VPN:
[[file:Vpn_trans.png|right|200px]]
 
  
VPN (Virtual Private Network) is a way to connect to the UiB network even if you are outside of our campus. Thus you may access UiB's IT services such as [[Oppkobling mot hjemmeområde|eget hjemmeområde]] and [[Lagring_og_backup#Fellesområder|fellesområder]]) even if you are not in the university area.
+
1. Open the network settings and select "Add VPN connection".
  
VPN also provides a more secure data connection both on UiBs landline network and on the internet.
+
2. Enter the following information (exact field names may vary):
 +
  "Connection name" / "Destination name": '''UiB VPN'''
 +
  "Server name or address" / "Internet address": '''vpn.uib.no'''
 +
  "VPN type": '''L2TP / IPsec with pre-shared key'''
 +
  "Pre-shared key" (you may need to click "Advanced Settings" to see this field): [[fil:Clipboard01mbb.png|150px]]
 +
  Type of login information: '''Username and password'''
 +
    User name: '''Your username followed by @uib.no''', ie. abc123@uib.no
 +
    Password: '''Your usual UiB password'''
  
VPN connection to UiB can be used form computers connected to the Internet, e.g. from [http://www.sib.no/no/bolig/beboer/internet studentby-nett], via [[ADSL|ADSL hjemme]], via [[Networked on campus with private computer|WIFI]] on campus or [[På reise med UiB-PC|på reise]].
+
3. Click "Connect"
  
For the time being, UiB provides three different ways to connect to VPN, This is necessary because there is no single service that works well with all the different systems and gadgets on the market today.
 
  
==Which VPN service should I use?==
+
'''If you are using Mac OS/X:'''
 +
First download [[Media:UiB_VPN_L2TP.mobileconfig|this file]]. (Click the link while pressing the Ctrl key. From the menu that appears, select: ''Save the linked content as...''. After downloading the file, double-click the file and follow the instructions.) Then select the VPN icon
  
{|border="1" style="border-collapse:collapse" cellpadding="5"
+
[[File:vpn icon.jpg|200px]]
|+'''Overview of VPN services and which operating systems thay can be used with'''<br>
 
Please click "Read more..." to see the configuration instructions for this combination!
 
|- 
 
|
 
|style="text-align:center;" |VPN.UIB.NO
 
|style="text-align:center;" |Secondary service<br>(OpenVPN)
 
|style="text-align:center;" |Old service<br>(PPTP)
 
|- 
 
|Windows 7 (UiB client)
 
|style="text-align:center;" |
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Windows|Fallback solution<br>Read more...]]
 
|style="text-align:center;" |[[VPN configuration in Windows 7|'''Best alternative!'''<br>Read more...]]
 
|
 
|Windows 7 (private/self managed)
 
|style="text-align:center;" |[[VPN.UIB.NO på Windows 7 (privatdriftet)|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Windows|Fallback solution<br>Read more...]]
 
|style="text-align:center;" |?
 
|- 
 
|Windows 10 (private/self managed)
 
|style="text-align:center;" |[[VPN.UIB.NO på Windows 10 (privatdriftet)|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Windows|Fallback solution<br>Read more...]]
 
|style="text-align:center;" |[[VPN-oppkobling_i_Windows_10|Not recommended<br>Read more...]]
 
|- 
 
|Mac OS Sierra 10.12 and newer
 
|style="text-align:center;" |[[Mac_OS_X:_VPN|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Mac|Fallback solution<br>Read more...]]
 
|style="text-align:center;" |
 
|- 
 
|Mac OS 10.11 and older
 
|style="text-align:center;" |'''Best alternative!'''
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Mac|Fallback solution<br>Read more...]]
 
|style="text-align:center;" |
 
|- 
 
|IOS (Iphone and Ipad)
 
|style="text-align:center;" |[[VPN-oppkobling_på_iPhone_og_iPad|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |Fallback solution
 
|style="text-align:center;" |
 
|- 
 
|Android (smartphones and pads)
 
|style="text-align:center;" |'''Best alternative!'''
 
|style="text-align:center;" |Fallback solution
 
|style="text-align:center;" |
 
|- 
 
|Fedora/Suse Linux
 
|style="text-align:center;" |Fallback solution
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Linux|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |
 
|- 
 
|Ubuntu Linux
 
|style="text-align:center;" |
 
|style="text-align:center;" |[[OpenVPN-oppkobling_Linux|'''Best alternative!'''<br>Read more...]]
 
|style="text-align:center;" |
 
|- 
 
|ChromeOS
 
|style="text-align:center;" |
 
|style="text-align:center;" |
 
|style="text-align:center;" |
 
  
|}
+
and select "Connect to UiB VPN".
  
==Common technical information==
+
==Detailed instructions for various systems==
 +
* [[VPN configuration in Windows 7]] (private PC)
 +
* [[VPN-oppkobling i Windows 10]] (privat PC)
 +
* [[Mac OS X: VPN]]
 +
* [[VPN-oppkobling på iPhone og iPad]]
 +
* [[VPN-oppkobling på Android]]
 +
* [[VPN.UIB.NO på Linux]] For Linux we recommend Open VPN (see below), but this may be used as a fallback solution.
  
{|border="1" style="border-collapse:collapse" cellpadding="5"
+
'''Open VPN''' is another option which may work on networks and computers where UiB VPN is not available. Open VPN is therefore recommended as a fallback solution:
|+'''This is information you will need to configure and log in to the different VPN services.'''
+
* [[OpenVPN-oppkobling Windows]]
|- 
+
* [[OpenVPN-oppkobling Mac|OpenVPN-oppkobling Mac]]
|
+
* [[OpenVPN-oppkobling Linux]]
|'''VPN.UIB.NO'''
 
|'''Secondary service'''<br>(OpenVPN)
 
|'''Old service'''<br>(PPTP)
 
|-
 
|'''Address'''
 
|vpn.uib.no
 
|vpn-gw.uib.no
 
|vpn-ansatt.uib.no<br>
 
|- 
 
|
 
|Shared secret<br>[[image:Clipboard01mbb.png|150px]]  
 
|Order certificate: Please see [https://tjinfo.uib.no/openvpn https://tjinfo.uib.no/openvpn]<br>Client software: Please see [https://openvpn.net/ https://openvpn.net/]
 
|
 
|-
 
|'''Logon'''
 
|''username''@uib.no<br>
 
|username
 
|''username''@uib.no<br>
 
|-
 
|'''More information'''
 
|[https://en.wikipedia.org/wiki/Layer_2_Tunneling_Protocol Read about this technology in Wikipedia]
 
|[https://en.wikipedia.org/wiki/OpenVPN Read about this technology in Wikipedia]
 
|[https://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protocol Read about this technology in Wikipedia]
 
|}
 
  
==Possible error codes when connecting==
+
==Errors when connecting==
  
[[Possible Error Codes When Using VPN|Click this link to see what the different VPN error codes means]]
+
Read more about [[Possible Error Codes When Using VPN]].
  
 
[[Category:VPN]]
 
[[Category:VPN]]
 +
[[no:VPN, Virtual private network]]

Revision as of 11:56, 26 March 2020

VPN (Virtual Private Network) is a way to connect to the UiB network even if you are not on campus. This allows you to access UiB's IT services (such as your home directory and public folders or printing via Pullprint) even if you are located somewhere other than the campus.

VPN also provides more secure data transmission both on UiB's physical data network and on the Internet.

VPN connection to UiB can be used from all computers and most mobile devices connected to the Internet.

Simple instructions for connecting to VPN

If you need more detailed instruction or these are not suitable for your computer, please see links to other guides below.

If you have a Windows 10 UiB PC, UiB VPN is already set up. Open the network connection "UiB VPN", select "Connect" and log in.

If you have a private PC or other computer, you must first connect to UiB VPN:

1. Open the network settings and select "Add VPN connection".

2. Enter the following information (exact field names may vary):

 "Connection name" / "Destination name": UiB VPN
 "Server name or address" / "Internet address": vpn.uib.no
 "VPN type": L2TP / IPsec with pre-shared key
 "Pre-shared key" (you may need to click "Advanced Settings" to see this field): 150px
 Type of login information: Username and password
   User name: Your username followed by @uib.no, ie. abc123@uib.no
   Password: Your usual UiB password

3. Click "Connect"


If you are using Mac OS/X: First download this file. (Click the link while pressing the Ctrl key. From the menu that appears, select: Save the linked content as.... After downloading the file, double-click the file and follow the instructions.) Then select the VPN icon

Vpn icon.jpg

and select "Connect to UiB VPN".

Detailed instructions for various systems

Open VPN is another option which may work on networks and computers where UiB VPN is not available. Open VPN is therefore recommended as a fallback solution:

Errors when connecting

Read more about Possible Error Codes When Using VPN.