Difference between revisions of "Cisco VPN"

From NComputing Knowledge Base
Jump to: navigation, search
Line 1: Line 1:
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:
+
The Cisco AnyConnect VPN client for Linux works fine in NoTouch and some OS images have it included.  
 +
 
 +
In this guide we assume you have a NoTouch machine with a configured connection, be it [[Citrix]], [[VMware Horizon View]], whatever, and you want to add Cisco VPN support in a way that your users can click on an icon to start the VPN connection when they need it.
  
# Repurpose one PC with the latest NoTouch image that includes the VPN client
 
# Create your normal connection (View, Citrix, whatever)
 
# 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
 
# Enable Cisco VPN service (under Services)
 
# Reboot the machine, do NOT start any of the connections
 
 
# Open a terminal window (Configuration -> Console)
 
# Open a terminal window (Configuration -> Console)
 
# Configure the Cisco VPN service
 
# Configure the Cisco VPN service
 +
#* Create the folder where the file will reside:
 +
#** mkdir /config/ciscovpn
 
#* 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#Configuring_the_VPN_Client Install Cisco VPN on Linux]
 
#** See here: [http://micro.stanford.edu/wiki/How_to_install_and_configure_the_Cisco_VPN_client_on_a_Linux_computer#Configuring_the_VPN_Client Install Cisco VPN on Linux]
#* Save its profile to the standard location /etc/opts/cisco-vpnclient
+
#* Save the file to /config/ciscovpn
# Execute this command: cp -a /etc/opts/cisco-vpnclient /config/ciscovpn
+
# Back in the configuration, Create a connection named "Start VPN" and with connection mode "Custom command".  
# In the local configuration application of NoTouch, click on "All" and then on "Eventscripts". Set the parameter "Startup command 1" to the following value:  
+
#* Set the parameter "Command to be executed" to:  
#* mkdir -p /etc/opts ; cp -a /config/ciscovpn /etc/opts/cisco-vpnclient
+
#** vpnclient connect ProfileName
# Save the config as usual, and reboot the machine, check the workflow:
+
# Enable Cisco VPN service (under Services)
## Boot
+
# Reboot the machine and check the workflow  
## Start the "Start VPN" connection
 
## Start the VMware connection
 
 
 
  
 
[[Category:NoTouch Receiver]]
 
[[Category:NoTouch Receiver]]

Revision as of 02:17, 21 February 2014

The Cisco AnyConnect VPN client for Linux works fine in NoTouch and some OS images have it included.

In this guide we assume you have a NoTouch machine with a configured connection, be it Citrix, VMware Horizon View, whatever, and you want to add Cisco VPN support in a way that your users can click on an icon to start the VPN connection when they need it.

  1. Open a terminal window (Configuration -> Console)
  2. Configure the Cisco VPN service
    • Create the folder where the file will reside:
      • mkdir /config/ciscovpn
    • This means that you create/edit your ProfileName.pcf connection file
    • Save the file to /config/ciscovpn
  3. Back in the configuration, Create a connection named "Start VPN" and with connection mode "Custom command".
    • Set the parameter "Command to be executed" to:
      • vpnclient connect ProfileName
  4. Enable Cisco VPN service (under Services)
  5. Reboot the machine and check the workflow