Connect to UCI VPN with Ubuntu Linux

First, some little info

  • UCI VPN is using IPSec via Cisco Anywhere protocol which is called in Linux as OpenConnect.
  • I'm using Ubuntu 10.10 x64 Linux
  • package needed: 
    • network-manager-openconnect
    • network-manager-openconnect-gnome
  1. First, to create a VPN setting. Left click on "Network Manager" icon and choose "VPN Connections", then "Configure VPN" 
  2. A box will pop-up, go to VPN tab and click "Add"
  3. Select "Cisco AnyConnect Compatible VPN (openconnect)" and click "Create..."
    1. If the option does not show, a plugin is missing. To fix it, following the steps below.
      1. Install network-manager-openconnect with this command
        sudo apt-get install network-manager-openconnect
      2. restart network-management with this
        sudo restart network-manager

  4. Fill in the dialog as follow:
    1. Connection name:  UCI VPN
    2. Gateway:
    3. Allow Cisco Secure Desktop trojan:  Check
  5. Click "Apply"
  6. Now, the newly created VPN setting is shown. click "Close" the box.
  7. Time to see if it works,... 
  8. Click the Network Manager icon again, go to VPN Connections, and click on "UCI VPN"
  9. New window will popup, click on the cable icon (where mouse pointer is) to connect 
  10. A certificate confirmation window will pop, just click "OK" to accept it.
  11. Go back to the previous window again. Now if it's connected, "GROUP" option will be shown.
  12. Set as follow
    1. select "GROUP" to either "UCI" or "UCIFull"
      1. "UCI" : partial connection, meaning only domain ending with "" will be sent through VPN connection
      2. "UCIFull" : full connection, meaning sending all data through VPN connection
    2. Username:  [your UCI net ID]
    3. Password: [your UCI password]
  13. Then click "Login"
  14. If it logged in, vpn notification will show, and the network manager's icon will change into this (middle icon)

1 comment:

  1. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post. free vpn