{"id":351,"date":"2019-11-07T16:11:50","date_gmt":"2019-11-07T21:11:50","guid":{"rendered":"https:\/\/www.bu.edu\/engit\/?page_id=351"},"modified":"2020-02-13T18:03:20","modified_gmt":"2020-02-13T23:03:20","slug":"ubuntuatbu-vpn","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/engit\/knowledge-base\/linux\/ubuntuatbu-vpn\/","title":{"rendered":"VPN"},"content":{"rendered":"<div>\n<h2>OpenConnect<\/h2>\n<p>A newer tool\u00a0 that works with Ubuntu 18.04.<\/p>\n<p>First, install the Ubuntu Network Manager:<\/p>\n<pre class=\"darkSnippet\">sudo apt-get install openconnect network-manager-openconnect-gnome\r\n<\/pre>\n<p>Configure the VPN<\/p>\n<ul>\n<li>Click on the <strong>Network Manager<\/strong> icon in your System Tray<\/li>\n<\/ul>\n<p style=\"padding-left: 60px;\"><img loading=\"lazy\" src=\"\/engit\/files\/2020\/02\/NMicon.png\" alt=\"\" class=\"alignnone wp-image-1099\" width=\"56\" height=\"53\" \/><\/p>\n<ul>\n<li>Click the <strong>Configure<\/strong> icon<\/li>\n<\/ul>\n<p style=\"padding-left: 60px;\"><img loading=\"lazy\" src=\"\/engit\/files\/2020\/02\/NMconfig.png\" alt=\"\" class=\"alignnone size-full wp-image-1098\" width=\"56\" height=\"56\" \/><\/p>\n<ul>\n<li>Under VPN, click <strong>+<\/strong> to create a VPN<\/li>\n<li>In the popup, click <strong>Cisco AnyConnect Compatible VPN<\/strong> to open configuration<\/li>\n<li>Enter the following:\n<ul>\n<li>Connection name: <strong>BU VPN<br \/>\n<\/strong><\/li>\n<li>Gateway: <strong>vpn.bu.edu<\/strong><\/li>\n<li>Leave the rest blank<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>Add<\/strong> in the upper right<\/li>\n<\/ul>\n<p><img loading=\"lazy\" src=\"\/engit\/files\/2020\/02\/VPNconfig-1-524x636.png\" alt=\"\" class=\"alignnone wp-image-1093\" width=\"430\" height=\"522\" \/><\/p>\n<p>Start the VPN client<\/p>\n<ul>\n<li>Click on the <strong>Network Manager<\/strong> icon in your System Tray<\/li>\n<li>Turn on the <strong>BU VPN<\/strong><\/li>\n<li>In the Popup, enter the following:\n<ul>\n<li>Username: Your <strong>BUusername<\/strong><\/li>\n<li>Password: Your <strong>Active Directory\/Kerberos password<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>Click Login.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" src=\"\/engit\/files\/2020\/02\/VPNlogin.png\" alt=\"\" class=\"alignnone size-full wp-image-1094\" width=\"350\" height=\"583\" \/><\/p>\n<p>Disconnect the VPN<\/p>\n<ul>\n<li>Click on the <strong>Network Manager<\/strong> icon in your System Tray<\/li>\n<li>Turn off the <strong>BU VPN<\/strong><\/li>\n<\/ul>\n<h2>VPNC<\/h2>\n<p>In Ubuntu 16.04, you could connect to the BU VPN using the <strong>vpnc<\/strong> package. This hasn&#8217;t been tested recently.<\/p>\n<ul>\n<li style=\"list-style-type: none;\">The package <strong>network-manager-vpnc<\/strong> gives you access to your VPNs from the Network Manager applet.<\/li>\n<\/ul>\n<p>If you&#8217;re not using <a class=\"http\" href=\"http:\/\/www.gnome.org\/projects\/NetworkManager\/\">NetworkManager<\/a> to handle the VPNs, you will need to make a couple config files.<\/p>\n<ul>\n<li><strong>\/etc\/vpnc\/oncampus.conf<\/strong>\n<pre class=\"darkSnippet\">IPSec gateway vpn-oncampus.bu.edu\r\nIPSec ID BostonU\r\nIPSec secret BostonU<\/pre>\n<\/li>\n<li class=\"gap\"><strong>\/etc\/vpnc\/offcampus.conf<\/strong>\n<pre class=\"darkSnippet\">IPSec gateway vpn-offcampus.bu.edu\r\nIPSec ID BostonU\r\nIPSec secret BostonU<\/pre>\n<\/li>\n<li class=\"gap\">You can also make <strong>\/etc\/vpnc\/default.conf<\/strong> a link pointing to the connection you use most.<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>OpenConnect A newer tool\u00a0 that works with Ubuntu 18.04. First, install the Ubuntu Network Manager: sudo apt-get install openconnect network-manager-openconnect-gnome Configure the VPN Click on the Network Manager icon in your System Tray Click the Configure icon Under VPN, click + to create a VPN In the popup, click Cisco AnyConnect Compatible VPN to open [&hellip;]<\/p>\n","protected":false},"author":16541,"featured_media":0,"parent":868,"menu_order":25,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/351"}],"collection":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/users\/16541"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":12,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/351\/revisions"}],"predecessor-version":[{"id":1091,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/351\/revisions\/1091"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/868"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/media?parent=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}