Getting openconnect vpn to work through gui

I'm trying to add a vpn connection through the openconnect and using the gui. Even though it says that I am connected, I can't access any of the websites on the network I'm trying to connect to.

However, if I run this command in the terminal, I am able to access the websites.

sudo openconnect blah.google.blah

So it's probably the sudo access? How can I add that to the gui?


Enable the proposed repositories

https://wiki.ubuntu.com/Testing/EnableProposed

then you can install

sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome

This will allow you to configure them via the NetworkManager GUI.