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.
Table of Contents [-]
- Install from software.ntnu.no (for students)
- Automatic installation
- Manual installation
- VPN on iPhones and iPads
- VPN on Android
- VPN on Windows 8
- What is VPN?
- Alternative to AnyConnect for UNIX/LINUX
- Known problems and solutions
- Error message "Failed to initialize":
Norsk versjon - Installere 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.)
Students and employees at the former university colleges must use these links for remote access at the moment:
- VPN in Gjøvik:Log on and user guide (use outside of campus and student villages)
- Remote access in Ålesund:Log on and user guide (use outside of campus and student villages)
- VPN at former HiST:Log on and user guide
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 software.ntnu.no (for students) #
- Go to software.ntnu.no, log in with your NTNU username and password and confirm the information given.
- Download VPN by clicking the icon corresponding to your operating system.
- Run the downloaded file and install the application.
- When the application is installed you can find it by it's name "Cisco Anyconnect".
- Run the application
- Insert "sslvpn.ntnu.no" in the adress field.
- Click Connect.
- 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 "sslvpn.ntnu.no" 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/vpnsetup.sh", 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 "sslvpn.ntnu.no" 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 #
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.
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.
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:
- Close Cisco VPN (right click the icon and press Quit)
- Run Microsoft Fixit: http://go.microsoft.com/?linkid=9876036