Install VPN

Using VPN (virtual private network), you can connect to the NTNU network and access internal resources like Oria, 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

In many cases it is easier to connect to NTNU systems through Software Farm. (Will be available to students at the former university colleges by this spring.)

  • NB! Employees who need access to Paga have to use the regular NTNU VPN service,

You can also see the Youtube video guide on VPN-installation (Norwegian). If you have already installed VPN earlier, just click the icon on your task bar to the right on your computer.

Install from (for students at NTNU in Trondheim) #

  1. Go to, log in with your NTNU username and password and confirm the information given.
  2. Download VPN by clicking the icon corresponding to 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 address field.
  7. Click Connect.
  8. Insert your NTNU username and password and click OK

You are now connected to NTNU via VPN.

Automatic installation #

Step 1: Log in #

Go to this website to connect to VPN. Enter your NTNU username and password. 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 in. 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.

What is VPN? #

VPN is a tool that allows you to gain access to NTNU resources such as your home directory and Oria while at home. VPN gives you access to resources that otherwise require you to be connected to eduroam (e.g. journal databases). When you're connected to VPN you're connected to NTNUs network, and you therefore have to follow NTNUs IT regulations.

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.

Alternative to AnyConnect for UNIX/LINUX #

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

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.

ERROR: Failed to initialize subsystem connection #

Thiss error occurs on Windows 8 and 10 after an update to Internet Explorer. This is beceause Cisco AnyConnect uses settings from Internet Explorer to decide whether or not you're connected to the internet. The problem can be fixed by downloading the following hotpatch from Microsoft.

Close the VPN client and install the patch, then restart the VPN cient. If it still doesn't work, restart your computer.

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:

Contact #

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

8 Vedlegg
88608 Visninger
Gjennomsnitt (1 Stemme)