Questions tagged [openconnect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
80 views

Using “sudo openconnect” sets VPN DNS, but Gnome VPN setups don't on Ubuntu 20.04

OK, forgive me, but this is my first time posting about openconnect issues. Before my disk crash, I was using Ubuntu 18.04 LTS. I reinstalled it and remembered that to make it connect to my ...
0
votes
1answer
482 views

Is there a workaround for the bug that the username is not saved in openconnect VPN connection dialog

When you connect a VPN with OpenConnect, I can click on "save passwords" but only the password is filled in automatically when I open the connection dialogue the next time. The "...
0
votes
1answer
160 views

Openconnect VPN connecting, but work sites giving DNS_PROBE_FINISHED_NXDOMAIN

EDIT: I have no idea why, but if I connect to NordVPN, then disconnect, my work VPN through openconnect works as it should. I can access all work and non-work sites as intended. Maybe this will shed ...
0
votes
1answer
27 views

Network Manager: Is it possible to pass CLI options to openconnect (in order to manually resolve the hostname)?

Basically this question has been asked before, albeit with a different flag/argument, and it's been a few years. Since the people who administer my local network have apparently misconfigured IPv6, I ...
1
vote
0answers
17 views

Cannot get response when connecting to OpenConnect

I have connected successfully to my VPN using openconnect. OpenConnect VPN provides me an IP suppose the IP is 9.9.9.9.By using VPN I can request a specific API and get the response back. But the ...
3
votes
2answers
89 views

How to get openconnect to unmount a partition when VPN closes?

I have this entry in my fstab: sc-netapp48.nvidia.com:/vol/scratch9/scratch.securesign_new /home/scratch.securesign_new nfs _netdev,comment=systemd.automount 0 0 I'm not sure how this works exactly, ...
0
votes
0answers
63 views

systemd-resolved is using wrong interface for resolving

I use openconnect for VPN. It works well in terminal and resolves all domains, but when using NetworkManager GUI systemd-resolved fails to correctly resolve names, even though all the setting seem ...
1
vote
1answer
276 views

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: ...
1
vote
0answers
48 views

Openconnect VPN where host contains “/” character not working as expected

I have Ubuntu 16.04 and I need to create a VPN connection with openconnect (Pulse Network Connect). I have installed the necessary packages: network-manager-openconnect network-manager-openconnect-...
5
votes
2answers
612 views

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 ...
1
vote
0answers
253 views

Failed to obtain WebVPN cookie in Ubuntu 18.04.4

I am trying to connect VPN and getting the error SSL connection failure Failed to open HTTPS connection to my.vpn.com Failed to obtain WebVPN cookie Tried multiple workaround but no success.
2
votes
1answer
826 views

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-...
0
votes
0answers
26 views

dpkg: unrecoverable fatal error, aborting: Openconnect

Hi I want to install some app but I got this Error: dpkg: unrecoverable fatal error, aborting: loading files list file for package 'openconnect': cannot read /var/lib/dpkg/info/openconnect.list (...
0
votes
0answers
32 views

OpenConnect Gnome server cert

I installed: network-manager-openconnect network-manager-openconnect-gnome and easily I can connect to my own VPN server with below shell script: sudo openconnect --servercert sha256:something ...
4
votes
1answer
260 views

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 ...
2
votes
2answers
3k views

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?
0
votes
2answers
1k views

Ubuntu 19.10 unable to find libnm-glib, libnm-glib-vpn and libnm-util packages

I've been trying to build network manager plugin for Ubuntu 19.10 but autogen.sh keeps failing witn the following error checking for LIBNM_GLIB... no configure: error: Package requirements (...
0
votes
0answers
76 views

Ubuntu 18.04 openconnect uses 100% CPU

I use openconnect for my VPN access at work. Every now and then it spikes to 100% CPU usage and I can't understand why. I have to kill the process and restart it to go away. Any idea how I can ...
1
vote
0answers
957 views

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 ...
0
votes
1answer
101 views

No Guile Development package found im compiling open-connect source code from git-hub

*** Detecting GNU Guile... checking for guile-snarf... /usr/bin/guile-snarf checking for guild... /usr/bin/guild checking for arm-linux-androideabi-pkg-config... /usr/bin/pkg-config checking pkg-...
0
votes
0answers
28 views

Why can't I increase ocserv max-clients above 16?

I am trying to get more than 16 clients connected to my openconnect server on Ubuntu 16.04 x64. I changed the max-clients value to be 0 ( for unlimited ) and 128 and 1024 but nothing happen. See The ...
0
votes
0answers
81 views

Can't connect VPN by openconnect with syslog

I'm using openconnect to connect VPN. My VPN connecting script likes below: #!/bin/bash echo 'passwd' | /usr/sbin/openconnect -b \ --user=username \ --force-dpd=15 \ --reconnect-timeout ...
1
vote
0answers
112 views

networkmanager-openconnect with flag --no-http-keepalive not possible to set in UI

I activated the VPN SSL on our Cisco RV340 router. I want to use openconnect to establish the vpn connection. When I use the CLI in my bash session it is working when using the flag --no-http-...
3
votes
1answer
928 views

Unable to connect to Cisco openconnect in ubuntu 19.10

Today I have decided to upgrade my os from 18.04 to 19.10 I use openconnect with the terminal by this command : sudo openconnect de.cisadd2.com Then I enter my username and password and it would ...
0
votes
0answers
514 views

How to use OpenConnect without blocking port 443?

I've migrated a Windows 10 machine to Ubuntu. On Windows 10 I connected to a Cisco VPN through the Cisco AnyConnect client. It worked fine and allowed me to use port 443 while connected to the VPN (...
0
votes
0answers
665 views

Openconnect add dns to systemd-resolve

When connecting to a vpn using openconnect the default vpnc script adds dns servers into my resolv.conf file. These DNS servers come before my stub resolver 127.0.0.53 which uses systemd-resolve. ...
3
votes
1answer
708 views

openconnect 18.04 “please upgrade your client”

I have been using my VPN connection successfully for a few months on v 18.04. Openconnect reports its version as v7.08-3ubuntu0.18.04.1 Recently when I have tried to establish a connection, I have ...
4
votes
0answers
796 views

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=...
0
votes
0answers
2k views

VPN (Cisco AnyConnect) openconnect plugin stopped setting up DNS on Ubuntu 18.04

Today (it is 2019-05-19) I can't connect to internal resource within VPN – it worked OK the day before. It happens because DNS doesn't resolve internal names. systemd-resolve shows this $ systemd-...
3
votes
1answer
4k views

globalprotect option missing in network-manager VPN options

Ubuntu 19.04 has openconnect v8.02 which supports globalprotect. I'm able to to connect to a corporate network from terminal using following command: openconnect --protocol=gp <some address> ...
1
vote
1answer
4k views

Openconnect XML response has no “auth” node and failed to obtain WebVPN cookie on Ubuntu 18.04

After successfully installing openconnect using apt on Ubuntu 18.04, when I try to connect to VPN using $ openconnect https://xxx.xx.xxx/ XML response has no "auth" node Failed to obtain WebVPN ...
4
votes
1answer
674 views

OpenConnect “Unknown form id frmTotpToken” Error on Login

I'm on Ubuntu 18.04.1 LTS. I'm trying to login to VPN using Juniper / Pulse Network connect. After setting up the connection in the network manager, when I tried to login I got Unknown form id ...
1
vote
0answers
334 views

Ubuntu 18.04 openconnect wont update resolv.conf

As the title says, every time I connect to the VPN using Network Manager (or by console) using openconnect my resolv.conf won't update correctly... For example, this is how my resolv.conf file look ...
0
votes
1answer
2k views

Openconnect in Juniper mode suddenly fails with “Failed to obtain WebVPN cookie”

I've been using Openconnect on Ubuntu 16.04 LTS to connect to my VPN successfully for quite a while, using the following options to invoke the Juniper support and set up a SOCKS5 tunnel (Note the ...
4
votes
1answer
6k views

Problem with openconnect after upgrade to ubuntu 18.04 [closed]

After I upgrade 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 ...
12
votes
3answers
25k views

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. ...
1
vote
0answers
766 views

Openconnect VPN stopped working

I installed openconnect when I installed Kubuntu 18.04, and I was able to connect to work just fine using sudo openconnect --user <username> --juniper https://<vpn_server> However since ...
9
votes
2answers
7k views

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 ...
0
votes
1answer
541 views

How to use one port for two applications?

I had https on my website very well until recently that my government decided to block almost every VPN protocols and right now only openconnect works correctly. Therefore I installed and configured ...
2
votes
1answer
351 views

Cron job - need script to start VPN if not already running for job

I have mirror repos that I use as reference for multiple builds throughout the day. I would like to have a cron job that runs every night and does a repo sync for each of my repos. MY problem is some ...
0
votes
1answer
431 views

SSH to OpenConnect Client

When using Cisco AnyConnect on a mac, I can ssh to my mac via the VPN dhcp address provided. On my Ubuntu 17.10 box using OpenConnecct, the connections are refused. Using Wireshark, I can see vpn0 ...
1
vote
0answers
358 views

openconnect VPN for all Users with individual credentials possible?

Hi there and thanks for reading! I want to preset an openconnect VPN connection (gateway + cert) for all users but let each connect with their own credentials. Here is what i have so far: install ...
1
vote
0answers
317 views

No internet after installing openconnect

I'd installed Openconnect to use Cisco VPN on Ubuntu 16.04. I've installed it with this command. sudo apt-get install openconnect network-manager-openconnect-gnome After that I could connect without ...
2
votes
0answers
1k views

Openconnect profile add and automate VPN connectivity

I use Cisco anyconnect in Windows machine at office laptop. I also do office work from home with my personal Ubuntu laptop. Normally to connect I use openconnect which works perfectly. Installing ...
4
votes
2answers
5k views

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 ...
2
votes
1answer
2k views

Openconnect - name or service not known when using sudo

I've been using openconnect with no problems at all, but since yesterday when I try to connect to the VPN using sudo it fails: lmoreyra@arbanlmoreyra1:~$ sudo openconnect vpn-am2.infor.com [sudo] ...
0
votes
2answers
735 views

17.10 GUI problem when connectiong to Juniper/Pulse VPN

I am trying to connect to my job's Juniper VPN via openconnect. It works just fine on the command line I mean terminal :) I also installed the plugins and added it to NetworkManager GUI. When I want ...
0
votes
0answers
179 views

OpenConnect VPN cuts off outside name resolution

I'm using Ubuntu 16.04.3, the same problem occurred with 16.04.2. I'm at a hotel and my internet connection is working. When I VPN into work using OpenConnect, I can access website inside the ...
0
votes
0answers
226 views

I'm connected with OpenConnect, but Network pane says “Not connected” to VPN

I'm running Ubuntu 16.04.2. I use the Network pane to connect to wireless, then I use one of the VPN options to connect to VPN. At the top of the pane it says MyCompany VPN Not ...
1
vote
0answers
485 views

Build OpenConnect on 14.04 with PKCS#11 support

I'm trying to build OpenConnect 7.07 on Ubuntu 14.04 using autobuild shell script from GitHub Autobuild script for OpenConnect 7 (Ubuntu 14/15/16 trusty/vivid/xenial) The build works, but when I try ...