Introduction
Sometimes it may be necessary for users of QRIScloud to be connected to their home institution's network. This can easily be accomplished using vpn client installed on the cloud server. The following instructions outlines the process.
Normal Usage
Log in from console (see below under "First Use" on how to do this)
sudo vpnc
To disconnect:
sudo killall vpnc
Scripted way
more vpn1.sh
sudo vpnc TUNIP=`ip \a|grep -i inet|grep tun|awk '{print $2}'|awk -F "/" '{print $1}'` echo "Griffith IP is: $TUNIP" | mail -S smtp=smtp.griffith.edu.au -s "VPN IP $TUNIP" youremail@griffith.edu.au
This will email the newly assigned IPaddress
Reconnect using the new ipaddress! viola!