Sektionen
Sie sind hier: Institut → IT Services → Dienste → Private VM → Internet Access

Internet Access

Internet access will be available by using our VPN. To get a vpn account please follow the VPN installation guide.

VPNC

The vpn client required to access our network is already preinstalled. Open the commandline and enter the following commands to start a VPN connection:

~$ sudo vpnc
[sudo] password for ptw: enterYourAccountPassword
Enter username for 131.220.242.5: enterYourUserName
Enter password for ptw@131.220.242.5: enterYourVPNPassword
VPNC started in background (pid: 1337)

To verify that your VPN connection is up and running:

~$ ifconfig
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:131.220.243.228 P-t-P:131.220.243.228 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Static Routes

Important: Please consider the notes below about the network connectivity of your PVM.

Once your VPN connection is up and running you may experience loss of connectivity to your VM. This occurs because the main IP Address will change to the VPN Address.

To avoid a loss of connectivity we preconfigured static routes in:

/etc/network/interfaces
...
up route add -net 131.220.4.0/24 gw 10.5.5.1 dev eth0
up route add -net 131.220.5.0/24 gw 10.5.5.1 dev eth0
up route add -net 131.220.8.0/24 gw 10.5.5.1 dev eth0
up route add -net 131.220.240.0/24 gw 10.5.5.1 dev eth0
up route add -net 131.220.152.0/24 gw 10.5.5.1 dev eth0 
up route add -net 131.220.155.0/24 gw 10.5.5.1 dev eth0

If you access your PVM from one of those sub nets your network traffic will be routed directly and not via VPN, so that you may safely enable or disable your VPN without loosing current network connections to your PVM.

Institutsverweise