All Questions
Tagged with vpn openconnect
66
questions
0
votes
1
answer
151
views
how to specify additional options to openconnect when invoked via nmcli?
I use mlcli to connect to a VPN, like this: nmcli conn --ask up myVPN. Under the hood this invokes openconnect:
\_ bash
| \_ nmcli conn --ask up myVPN
| \_ /usr/sbin/openconnect --authenticate ...
0
votes
1
answer
308
views
Enable self signed certificates in OpenConnect GUI
I am trying to connect to a VPN server hosting a self-signed TLS certificate using OpenConnect VPN client. The authentication in VPN is behind Microsoft SSO.
When I try to connect to the VPN (Settings-...
0
votes
0
answers
88
views
Openconnect Server not see my local network
I has a vps that has ip 1.1.1.1. this vps has two interface. one of theme inside my LAN by ip 10.10.10.2\24 as name eth1 and another side in internet (1.1.1.1) as ens33.
Now, i create a ocserver based ...
0
votes
0
answers
44
views
routing traffic between two vpn
I have two VPNs. one is Openconnect for my company sites and the other is Windscribe.
I need only to pass traffic of the company's sites Ips, starting with 172 from Openconnect and any others Ips to ...
3
votes
0
answers
2k
views
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=${...
1
vote
1
answer
216
views
Can I override which URL openconnect POSTs to?
A while ago, a connection to a VPN broke. The admin says it's because openconnect is sending a POST to the wrong URL. The dump looks something like this:
echo 'MyPassword' | openconnect -b --pid-file=/...
0
votes
1
answer
720
views
Using 22.04 Network menu to VPN with Pulse Secure
I can use the PulseUI GUI to VPN to a university I'm working with.
It uses Duo-push authentication and works fine.
What I don't like is that the GUI won't autofill the password fields.
I can invoke ...
0
votes
0
answers
626
views
VPN Error: any valid prefix is expected rather than "local/32"
I usually connect to the same VPN and today I got this error:
Error: any valid prefix is expected rather than "local/32"
Any idea to fix it?
I am using Ubuntu 21.10, 64 bit
GNOME Version 40....
1
vote
0
answers
1k
views
Network-manager openconnect with pulse/saml/azure?
I succesfully used the NetworkManager OpenConnect VPN to connect to our Secure Pulse.
However, we recently moved to Azure SAML Login, which is browser-based, and runs on a url in the form: gateway....
1
vote
1
answer
4k
views
DNS servers "ignored" with NetworkManager, systemd-resolved and VPN tunnel
With Ubuntu 20.04, I connect to the internet via WLan using NetworkManager. Then I establish a VPN with OpenConnect.
I am using the "stub resolv.conf": /etc/resolv.conf -> /run/systemd/...
1
vote
1
answer
3k
views
OpenConnect certificate failed verification, it says its expired, but it is NOT!
When I try to connect to my OCServ using OpenConnect client in ubuntu it throws an error:
Connected to x.x.x.x:yyy
SSL negotiation with server.domain.tld
Server certificate verify failed: certificate ...
0
votes
0
answers
2k
views
Openconnect VPN throwing "Failed to read from SSL socket: The TLS connection was non-properly terminated" + More
These are my specs:
Platform: Raspberry Pi 4
Raspberry Pi version: 2021-05-07
Anyconnect version: v8.02-1+deb10u1
CLI launch command: openconnect -v ***.***.172.2:4443
Error output:
*****BEGIN ERROR ...
1
vote
0
answers
320
views
Problem with reaching websites on browser after establishing vpn by openconnect
I used openconnect in terminal for connecting to server. The connection established. I can ping any websites. It looks good for everything. But in Chrome and Firefox I couldn't access to websites. All ...
0
votes
1
answer
1k
views
how to clear dns cache on vpn connection?
After connecting to my customer's VPN, I need to issue this command:
service nscd reload
Or wait for some time before I can access internal services.
How can I make this happen automatically?
2
votes
2
answers
8k
views
How to install openconnect-sso on Ubuntu 21.04
I would like to install openconnect-ssh. The install instructions from the project seem complex, I'm not sure what pipx is.
How do I install openconnect-sso on Ubuntu without using pipx and using ...
2
votes
0
answers
1k
views
Connect to openconnect server from the command line?
I tried finding a similar question and did but there's a caveat though, older questions use --no-cert-check option which is removed due to security reasons and I don't know the exact fingerprint for ...
2
votes
1
answer
2k
views
Proxy failing because system resolves it using local DNS instead of VPN (Ubuntu 20.04)
I am using an VPN over openconnect through NetworkManager. I also have a proxy server whose configuration is reachable via VPN (at http://wpad/wpad.dat). Sporadically, when I connect to VPN it fails ...
2
votes
2
answers
11k
views
How to disconnect from OpenConnect?
I command something like this : sudo openconnect -b serverName for connect to vpn but when i want to disconnect it , the process does not kill and its alive in background.
I used these commands for ...
2
votes
0
answers
990
views
Network-manager openconnect does not change my public ip address
I just tried to connect to Cisco any-connect VPN through network-manager or command line.
When I use sudo openconnect <server_address> command in command-line I see my public IP address has been ...
1
vote
2
answers
3k
views
OpenConnect not shown as an option in Network Manager in 20.04
I have network-manager-openconnect-gnome installed, but there is no option for OpenConnect in Network Manager. I am aware of this past question for Ubuntu 16.04. On 20.04, I have done the following + ...
0
votes
1
answer
2k
views
127.0.0.1 not responding when connected to VPN
I have a few services running on localhost, listening on port 80 or 9999.
When I connect to my corporate VPN (Cisco Anyconnect), it suddenly stops responding.
localhost resolves well to 127.0.0.1, but ...
0
votes
0
answers
1k
views
How to reset an OpenConnect / NetworkManager pinned certificate
I have installed an OpenConnect server (ocserv) so I can connect to my home systems.
Initially I used the valid LetsEncrypt provided certificate for *.example.com, later I changed that to vpn.example....
4
votes
4
answers
4k
views
VPN openconnect pulse disconnects itself in Ubuntu 20
Openconnect pulse VPN disconnects itself after sometime with "ESP detected dead peer" error in ubuntu 20. In ubuntu 18 it worked fine and kept on connected for long hours.
Please help to ...
4
votes
0
answers
1k
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 ...
2
votes
1
answer
5k
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 "...
2
votes
1
answer
3k
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
1
answer
887
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
0
answers
220
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
2
answers
254
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, ...
1
vote
0
answers
345
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-...
11
votes
3
answers
8k
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
0
answers
2k
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.
19
votes
6
answers
28k
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-...
7
votes
1
answer
1k
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 ...
6
votes
2
answers
5k
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 ...
1
vote
0
answers
463
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
1
answer
2k
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
0
answers
2k
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 (...
5
votes
2
answers
3k
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 ...
6
votes
0
answers
3k
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=...
1
vote
0
answers
3k
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-...
5
votes
1
answer
10k
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>
...
4
votes
1
answer
11k
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
1
answer
1k
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
0
answers
467
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
1
answer
3k
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 ...
1
vote
0
answers
2k
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
2
answers
8k
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
2
answers
1k
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
1
answer
878
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 ...