Access DTU campus network using VPN from Linux: Difference between revisions
From Rsewiki
(New page: The purpose is to allow (some) access to servers, e.g. MATLAB license server, using a VPN (Virtual Private Network) ==Install (Ubuntu/kubuntu)== Install the following packages: sudo ap...) |
No edit summary |
||
Line 1: | Line 1: | ||
The purpose is to allow (some) access to servers, e.g. MATLAB license server, using a VPN (Virtual Private Network) | The purpose is to allow (some) access to servers, e.g. MATLAB license server, using a VPN (Virtual Private Network). | ||
==Install (Ubuntu/kubuntu)== | ==Install (Ubuntu/kubuntu)== |
Revision as of 07:06, 17 May 2012
The purpose is to allow (some) access to servers, e.g. MATLAB license server, using a VPN (Virtual Private Network).
Install (Ubuntu/kubuntu)
Install the following packages:
sudo apt-get install openconnect vpnc
Open connection
Run the following command:
sudo openconnect --script /etc/vpnc/vpnc-script https://vpn.ait.dtu.dk/
(supply password for SUDU, and your logon credentials to campusnet when prompted)
Now you have a new network connection, check with ifconfig:
ifconfig eth1 Link encap:Ethernet HWaddr 00:1c:c0:81:cc:dd ... lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 ... tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.13.28.17 P-t-P:10.13.28.17 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1406 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:1201 (1.2 KB) TX bytes:1480 (1.4 KB)
If you installed MATLAB as described in http://downloads.cc.dtu.dk/# then you should now be able to run MATLAB using your DTU license.