Questions tagged [openconnect]

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.

87 questions
39
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
  • 4,234
  • 4
  • 27
  • 37
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…
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…
22
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
  • 479
20
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
  • 513
  • 2
  • 5
  • 16
19
votes
6 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
  • 331
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…
12
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
  • 167
  • 2
  • 13
9
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
  • 195
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…
8
votes
1 answer

Openconnect in network-manager does not update resolv.conf

I just updated from ubuntu 19.10 to ubuntu 20.04. Now my resolve.conf does not get updated anymore when I connect to vpn with the openconnect thing in the network manager. This works correctly: sudo openconnect -u user https://server I see the…
Veda
  • 343
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…
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…
6
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…
6
votes
0 answers

openconnect fails with "No SSO handler"

Previously I could connect to my office Windows machine remotely from Ubuntu using: sudo openvpn --mktun --dev tun1 sudo ifconfig tun1 up sudo openconnect ${VPN_SERVER_ADDRESS} --authgroup=${VPN_AUTH_GROUP} --interface=tun1 ...I would then use…
1
2 3 4 5 6