Difference between revisions of "Cisco VPN"

From NComputing Knowledge Base
Jump to: navigation, search
Line 11: Line 11:
 
# Configure the Cisco VPN service
 
# Configure the Cisco VPN service
 
#* This means that you create/edit your ProfileName.pcf connection file
 
#* This means that you create/edit your ProfileName.pcf connection file
#** See here: [http://micro.stanford.edu/wiki/How_to_install_and_configure_the_Cisco_VPN_client_on_a_Linux_computer]
+
#** See here: [http://micro.stanford.edu/wiki/How_to_install_and_configure_the_Cisco_VPN_client_on_a_Linux_computer Install Cisco VPN on Linux]
 
#* Save its profile to the standard location /etc/opts/cisco-vpnclient
 
#* Save its profile to the standard location /etc/opts/cisco-vpnclient
 
# Execute this command: cp -a /etc/opts/cisco-vpnclient /config/ciscovpn
 
# Execute this command: cp -a /etc/opts/cisco-vpnclient /config/ciscovpn

Revision as of 01:30, 21 February 2014

The Cisco AnyConnect VPN client for Linux works fine in NoTouch and some OS images have it included. To enable it, a special set-up procedure is used:

  1. Repurpose one PC with the latest NoTouch image that includes the VPN client
  2. Create your normal connection (View, Citrix, whatever)
  3. Create a connection named "Start VPN" and with connection mode "Custom command".
    • As soon as you have clicked the Change button, the parameter "Command to be executed" will appear a bit below. Set this parameter to:
      • vpnclient connect ProfileName
  4. Enable Cisco VPN service (under Services)
  5. Reboot the machine, do NOT start any of the connections
  6. Open a terminal window (Configuration -> Console)
  7. Configure the Cisco VPN service
    • This means that you create/edit your ProfileName.pcf connection file
    • Save its profile to the standard location /etc/opts/cisco-vpnclient
  8. Execute this command: cp -a /etc/opts/cisco-vpnclient /config/ciscovpn
  9. In the local configuration application of NoTouch, click on "All" and then on "Eventscripts". Set the parameter "Startup command 1" to the following value:
    • mkdir -p /etc/opts ; cp -a /config/ciscovpn /etc/opts/cisco-vpnclient
  10. Save the config as usual, and reboot the machine, check the workflow:
    1. Boot
    2. Start the "Start VPN" connection
    3. Start the VMware connection