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. Nice to read your article! I am looking forward to sharing your adventures and experiences. best vpn services

  2. This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. VPN in China

  3. Site-to-site and remote access are two kinds of VPN services. Remote access refers to a LAN connection that is utilized by an organization so that its employees can connect from remote locations to the private network. to get more information about VPN at

  4. While free VPN services are good, the amount of security that they offer is questionable and you are only provided with a small list of servers to choose from. Moreover, the features of the VPN service are also limited. ..and so on

  5. A debt of gratitude is in order for posting this once more.
    click here

  6. 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