sudo apt-get install vpnc
sudo apt-get install rdesktop
vpnc configuration file
sudo cp /etc/vpnc/example.conf /etc/vpnc/myconfig.conf
Use the settings from corresponding
.pcf file1. If the group password is stored in encrypted form in
.pcf file, decrypt it from here.
- Create a shell script in your home folder with following contents (replace the text in square brackets appropriately):
echo "Logging in..."
sudo vpnc-connect /etc/vpnc/myconfig.conf
rdesktop -u [username] [ip address] -f
- Save the shell script and remember to change its flags to executable.
- Launch the script from your home folder, enter appropriate passwords when asked.