02-22-2022 04:28 AM
Hello,
I use Ubuntu POP OS. I want to access Cisco Devnet Sandbox CML Modelling labs using OpenVPN. Could you let me know where to get the CA certificate file to connect to the VPN?
Thanks.
02-22-2022 04:41 AM
Hello Everyone, I think I got the answer.
https://developer.cisco.com/docs/sandbox/#!tips-tricks/linux-openconnect-vpn-client
Almost all reservation Sandboxes require a private VPN connection to the environment using our supported platform AnyConnect. While this is easily supported for Windows and Mac, our Linux users may feel the desire to leverage the popular open source VPN client OpenConnect. This short guide explains how to leverage OpenConnect to establish a VPN with the Sandbox.
Please Note: While this works well in most cases, we don't officially support the OpenConnect method at this time. Please use at your own risk.
At the writing of this Guide I was using Ubuntu 16.04 LTS - these instructions may need to be adapted to work with other distributions of Linux.
There's no need to build OpenConnect on your own - a list of current packages can be found on OpenConnect's website. In this guide, I'll be using the package for Ubuntu 16.04 listed on their page.
SSH or login to the GUI of your Linux machine
Install the open connect package. Be sure to use the correct apt-get/yum/rpm for your distro.
sudo apt-get install openconnect
Run openconnect, and pass in the remote network you'd like to connect too.
sudo openconnect [remote network]
If prompted about a self-signed SSL certificate, enter 'yes'
When prompted, enter the user name and password provided with the your Sandbox reservation
Look for the "Connected" message to confirm the connection is complete. You will need to leave this session open. The simplest way to verify connectivity is to ping one of the resources provided in the Sandbox.
05-13-2023 04:16 AM
Correct connection with openconnect, checked in Debian 11, thank you very much for your contribution @spandanlenka
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide