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.
Table of Contents [-]
- What is VPN?
- Install from software.ntnu.no (for students)
- Error message "Failed to initialize":
- Automatic installation
- Manual installation
- VPN on iPhones and iPads
- VPN on Android
- VPN on Windows 8
- Alternative to AnyConnect for UNIX/LINUX
- Known problems and solutions
Norsk versjon - Installere 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 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 representing 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.
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 quit)
- Run Microsoft Fixit: http://go.microsoft.com/?linkid=9876036
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 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.
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.