OpenConnect is an LGPL-licensed VPN client developed as an opensource alternative to the proprietary AnyConnect client created by Cisco. It was first released in 2009.
Questions tagged [openconnect]
78 questions
35
votes
7 answers
How to run openconnect with username and password in a line in the terminal?
I use openconnect in Ubuntu 16.04 terminally, when I want to run it, I need to enter three phases:
"yes/no"
"username"
"password"
How can I bypass above phases using openconnect in a line (e.g. using openconnect options)?
Are there any options for…
Benyamin Jafari
- 3,016
- 3
- 22
- 31
27
votes
6 answers
No more AnyConnect compatible vpn transport in Ubuntu 16.04?
Following my previous experiences with setting up Cisco AnyConnect VPN connections on Ubuntu 14.04 I tried the same approach here by installing packages:
sudo apt-get install -y network-manager-openconnect-gnome network-manager-openconnect…
Darko Miletic
- 534
- 2
- 6
- 14
26
votes
6 answers
OpenConnect VPN not in Network Manager in 16.04
I have network-manager-openconnect-gnome installed, but there is no option for OpenConnect in Network Manager. If I run
sudo openconnect vpn.work.com
And enter my details, I can connect to my work VPN, so openconnect is installed and working, but…
Chas. Owens
- 635
- 2
- 8
- 18
21
votes
3 answers
Ubuntu 16.04 openconnect cisco vpn failed to obtain webvpn cookie
On Ubuntu 16.04 I am getting the following error:
$ openconnect -v vpn.com
POST https://vpn.com/
Attempting to connect to server 1.1.1.1:443
SSL negotiation with vpn.com
Connected to HTTPS on vpn.com
Got HTTP response: HTTP/1.1 200…
sdstack
- 469
- 1
- 3
- 7
19
votes
4 answers
How do I use OpenConnect via Network Manager to connect to Juniper VPN?
The more general question: How do I pass arguments/switches to the client in Network Manager?
In order to connect to a Juniper VPN using OpenConnect, I use the following command-line:
sudo openconnect --juniper -u me vpn.juniper.example.com
I've…
Allen
- 493
- 2
- 5
- 15
13
votes
5 answers
SSH fails with connection timed out - in VPN and hangs here "expecting SSH2_MSG_KEX_ECDH_REPLY" + Ubuntu 16.04.6 LTS
Raised bug -> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1874257
SSH timeout issue, once connect to VPN.
Connecting via putty fine. No changes made before.
VPN established by open-connect. This is previously working. Reinstalled VPN…
Jay
- 171
- 1
- 1
- 7
13
votes
1 answer
Problem with openconnect after upgrade to ubuntu 18.04
After upgrading to 18.04 I can't use openconnect anymore. Here is the issue:
Established DTLS connection (using GnuTLS). Ciphersuite (DTLS1.2)-(PSK)-(AES-256-GCM).
DTLS connection compression using LZ4.
Failed to read from SSL socket: The…
Hashem Simab
- 131
- 1
- 6
11
votes
3 answers
Openconnect keeps asking for username in Ubuntu 20.04
I recently have upgraded to Ubuntu 20.04. Everything works fine except that every time I want to connect to a VPN network with openconnect I have to enter My username and It asks me to validate the certificate. I connect to VPN network using a gnome…
ali129
- 157
- 2
- 12
9
votes
2 answers
OpenConnect Juniper VPN Not Working in Ubuntu 18.04
I have been using openconnect for a long time now with our corporate VPN. I upgraded my personal laptop to Ubuntu 18.04 and I can no longer receive network traffic once connect.
I use the following command to connect:
/usr/bin/sudo…
Neal Gamradt
- 113
- 1
- 4
8
votes
1 answer
How do I install latest OpenConnect in Ubuntu 18.04?
In my Ubuntu 18.04, I have OpenConnect v7.08-3 installed. But it doesn't have GlobalProtect support. OpenConnect v8.02-1 has GlobalProtect support. How can I install it in ubuntu 18.04?
Darshana
- 185
- 2
- 2
- 8
7
votes
1 answer
OpenConnect VPN on Ubuntu 18 set up like the default of OC on Fedora Workstation? Need PA GlobalProtect VPN
I have an older machine that is running Fedora Workstation 31. When I go into settings -> network -> Add a VPN, I see this:
However, I tried to install OpenConnect VPN client for Ubuntu with these instructions, but this is all I see....there's…
KidACrimson
- 93
- 10
6
votes
2 answers
Openconnect won't disconnect in Ubuntu 17.10
I've installed openconnect and after establishing a session by the command
openconnect server_address
I just can't disconnect. In the manual, it's said a SIGINT signal would safely terminate the session, but that's not the case with me. Actually, I…
kreadeth t
- 71
- 1
- 5
6
votes
2 answers
How to configure OpenConnect with an XML file?
I'm not too familiar with VPNs and I'm having a hard time connecting to a VPN service with OpenConnect.
The VPN service I've purchased uses Cisco AnyConnect, which I can't get for Linux, but the OpenConnect application is supposed to do the same…
fuzzybabybunny
- 171
- 2
- 3
6
votes
0 answers
VPN: openconnect how to indicate a form field for authentication purposes?
I am trying to connect to a corporate vpn using openconnect (protocol Global Protect):
perret at perret-pc in ~
$ openconnect --protocol=gp [vpn-address]
POST [vpn-address]/ssl-vpn/prelogin.esp?tmp=tmp&clientVer=4100&clientos=Linux
Connected to…
Natalie Perret
- 469
- 2
- 5
- 15
5
votes
1 answer
Automatically connect an Openconnect VPN connection
I installed the network-manager-openconnect package and uses it to login to my Openconnect VPN server. The connection works, except that every time I start the connection a two step dialog box pops up and asks for my VPN username and password:
This…
My other car is a cadr
- 143
- 1
- 2
- 8