{"id":136,"date":"2022-05-20T13:25:15","date_gmt":"2022-05-20T13:25:15","guid":{"rendered":"https:\/\/tekweis.com\/?p=136"},"modified":"2023-03-10T10:30:03","modified_gmt":"2023-03-10T16:30:03","slug":"installing-openconnect","status":"publish","type":"post","link":"https:\/\/tekweis.com\/index.php\/2022\/05\/20\/installing-openconnect\/","title":{"rendered":"Installing OpenConnect"},"content":{"rendered":"\n<p>I&#8217;ve been using Cisco&#8217;s AnyConnect client to connect my <a rel=\"noreferrer noopener\" href=\"https:\/\/pop.system76.com\/\" data-type=\"URL\" data-id=\"https:\/\/pop.system76.com\/\" target=\"_blank\">Pop!_OS<\/a> workstation to my work VPN. The AnyConnect client is ok, but I want to use the network manager built into my workstation. To do this, I needed to install OpenConnect. To do this, open a terminal and run the following command:<\/p>\n\n\n\n<p><strong>sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"144\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1-1024x144.png\" alt=\"\" class=\"wp-image-138\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1-1024x144.png 1024w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1-300x42.png 300w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1-768x108.png 768w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1-660x93.png 660w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect1.png 1149w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then go into <strong>Settings \/ Network<\/strong>, and <strong>add<\/strong> a VPN connection. Select OpenConnect.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2.png\" alt=\"\" class=\"wp-image-139\" width=\"734\" height=\"515\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2.png 979w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2-300x211.png 300w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2-768x539.png 768w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2-660x463.png 660w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect2-200x140.png 200w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/figure>\n\n\n\n<p>From this window you can provide your VPN connection a custom name, and enter the gateway of the Cisco VPN server you are trying to connect to. Then click Add.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect3.png\" alt=\"\" class=\"wp-image-140\" width=\"440\" height=\"604\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect3.png 586w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect3-218x300.png 218w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/figure>\n\n\n\n<p>Once added, I click click the slide to enable the connection to test. I am prompted for my VPN username and password. This is good.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4.png\" alt=\"\" class=\"wp-image-141\" width=\"735\" height=\"518\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4.png 980w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4-300x212.png 300w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4-768x542.png 768w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4-660x465.png 660w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/OpenConnect4-200x140.png 200w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/figure>\n\n\n\n<p>VPN Connection can also be accessed directly from the taskbar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-20-08-21-10.png\" alt=\"\" class=\"wp-image-142\" width=\"245\" height=\"279\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-20-08-21-10.png 327w, https:\/\/tekweis.com\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-20-08-21-10-264x300.png 264w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using Cisco&#8217;s AnyConnect client to connect my Pop!_OS workstation to my work VPN. The AnyConnect client is ok, but I want to use the network manager built into my workstation. To do this, I needed to install OpenConnect. To do this, open a terminal and run the following command: sudo apt install openconnect\u2026 <span class=\"read-more\"><a href=\"https:\/\/tekweis.com\/index.php\/2022\/05\/20\/installing-openconnect\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":3,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}