Install VPN

Using VPN (virtual private network), you can connect to the NTNU network and access internal resources like Bibsys, your home directory or other NTNU network directories from home. The following is a guide to installing VPN on your personal computer.

Norsk versjon - Installere VPN 

Looking for something else? Topic page about IT-services | Pages labeled with vpn

What is VPN? #

VPN is a tool that allows you to gain access to NTNU resources such as your files and Bibsys while at home. VPN functions as a safe tunnel between your machine and NTNU's system. Traffic in the VPN tunnel is encrypted, meaning that data sent through this tunnel cannot be read by others. All active students and employees at NTNU can access VPN.

You can also see the Youtube video guide on VPN-installation (Norwegian).

Install from (for students) #

  1. Go to, log in with your NTNU username and password and confirm the information given.
  2. Download VPN by clicking the icon representing your operating system.
  3. Run the downloaded file and install the application.
  4. When the application is installed you can find it by it's name "Cisco Anyconnect".
  5. Run the application
  6. Insert "" in the adress field.

  7. Click "Connect".
  8. Insert your NTNU username and password and click OK

You are now connected to NTNU via VPN.

Error message "Failed to initialize": #

Since february 2015 we have been getting an error message "failed to initialize" this is because of a windows update.

How to fix this:

Automatic installation #

Step 1: Log in #

Go to this website to connect to VPN, and enter your NTNU username andpassword. Note: With exception of Lerkendal, VPN is blocked at all student villages, since you are already on a NTNU IP-address.

Step 2: Installation #

Installation using Java #

Browsers with Java will attempt to install the client using Java. A security notice will appear, and must be approved to continue. In Linux or Mac you may be asked to enter your username and password; enter the username/password combination that you use on you personal computer. The program should now install itself. Proceed to step 3. 

Download Java here if you do not have it already.  

Installation using ActiveX #

If you have ActiveX on your computer, the client will be installed automatically. The web browser will then ask you for permission to run the program, either through a pop-up window or a warning in the browser itself (either at the top or the bottom of the window). Click Yes or Ja. Choose Install in the next window. The client should now finish the installation by itself. Proceed to step 3.

Step 3: Setup and Use #

The program is now installed. You have automatically been connected to NTNU's network, and an icon will show up in your task bar. The installation should look something like this in your browser:


Start the program. Note that the address in the Connect to: field is automatically filled. To disconnect from VPN, right click on the icon in your task bar and choose Disconnect, or select Disconnect in the program's main window. 

Manual installation #

If your browser doesn't have ActiveX or Java, the installation process will skip those options and provide you with a download link to the version of VPN that fits your operative system.

Click on the provided link to start downloading the installation program. Below are further installation instructions, depending upon your operating system.


Manual installation in Windows #

During the installation you will need to press Next before the installation is finished. Before you can use the program you need to add the address of the VPN server that the client should connect to. You do this by opening Cisco AnyConnect VPN Client from the Start menu.

In the field next to Connect to: you should fill in and press Select. Your VPN setup is now finished, and you can connect by entering your NTNU username and password and pressing Connect.  


Manual installation in Ubuntu   #

Go to the place where the installation file has been saved, for example the desktop. Right click on the file and choose Properties, then select the tab called Permissions.  Check Allow Executing File as a program and close the window.


Open terminal, write sudo sh ./Desktop/, and press Enter. You will be asked to enter the administrator password for the computer. After the installation, VPN can be found under Programs->Internet->Cisco AnyConnect VPN Client. Open the client to the set up the first-time connection to the NTNU network. In the Connect to: field, enter and press the button to the right of the field. Fill in your NTNU username and password and press Connect


VPN on iPhones and iPads #

This page describes how to install VPN on iPhones and iPads

VPN on Android #

You can find this app in Google Play Store. The Any Connect application is free to install and use.

VPN on Windows 8 #

To make the VPN connection work on Windows 8, you must download a newer version of Any Connect than the one that is distributed automatically by the VPN system. Download it from Progdist (under campus/VPNKlient), version 3.1.

This newer version of Any Connect will soon be launched for everyone.

Alternative to AnyConnect for UNIX/LINUX #

If you having problems with AnyConnect on UNIX/LINUX, you can try OpenConnect.

Follow the guide from the NTNU student Kristoffer H. Sylte for hjelp on installation. 

Known problems and solutions #

ERROR: "The VPN client agent was unable to create the interprocess communication depot."

This error can occur if you have turned on Windows Internet Connection Sharing.

Turn off ICS: Network and Sharing Center --> Change Adapter Settings --> Right-click on adapter and choose Properties --> Sharing tab --> Uncheck Allow other network users to connect through this computer's Internet connection.

Or: Windows key + R --> write services.msc --> double-click Internet Connection Sharing --> Change Startup Type to Disabled --> Restart your computer.

Contact #

Orakel Support Services can help if you encounter difficulties. If you are an NTNU employee, consult your local IT Support.

8 Vedlegg
45927 Visninger
Gjennomsnitt (0 Stemmer)
Den gjennomsnittlige rangeringen er 0.0 stjerner utav 5.