Questions tagged [openconnect]

OpenConnect is an SSL VPN client

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

Discord disconnect when on Cisco VPN (Multi-protocol VPN client (openconnect))

i would like to ask for advice. I have Fedora 38 and I am also using Discord there. Problem is, that anytime I connect to VPN (which I need for work), discord disconnects. I have tried to completely ...
Tom's user avatar
  • 3
0 votes
0 answers
181 views

ocserv error: vhost, you cannot mix multiple authentication method

I'm trying to install ocserv (OpenConnect VPN Server), using script from this repository, on CentOS 8.1. Script automatically sets up server, certificate, user list and other settings. After install....
Jemshit's user avatar
  • 101
0 votes
0 answers
153 views

Internet disconnect after exit openconnect

I am a student, use VPN to connect to school server and get access of school resources. To avoid use the ugly GUI application which my school provided, I made a zsh script to substitute it, and here ...
Arthals's user avatar
0 votes
0 answers
356 views

run openconnect without sudo

I want to start a VPN connection without needing to type in the password to the VPN connection or the password for sudo and without saving the password on my pc accessible to any normal users. ATM I ...
Jacknife's user avatar
1 vote
1 answer
812 views

How to fix ca md too weak vpnbook?

I wanted to connect to freevpn openvpn service so I've followed the setup steps as their website said. but there is a problem about certificate I think. I've tried: openvpn --config vpnbook-pl226-...
amir taher's user avatar
2 votes
0 answers
524 views

Remove bogus DNS from resolvectl status

I use openconnect to join a VPN. On disconnection, the DNS remain alongside with mine in Global section, which causes a delay in network queries : Global Protocols: -LLMNR -mDNS -DNSOverTLS ...
Xavier Humbert's user avatar
3 votes
2 answers
8k views

How to set a VPN connection in nmcli?

I want to use nmcli to connect to a VPN that I typically use Cisco Annyconnect for. I've installed networkmanager-openconnect package (in Arch) and now I want to use it through nmcli. However, nmcli ...
yujaiyu's user avatar
  • 229
2 votes
0 answers
922 views

openconnect pulse and 2fa

I want to use openconnect instead of pulsesecure/pulseUI to connect to my company's vpn. this was ok in the old server but in the new they have added 2FA. I saw this https://stackoverflow.com/a/...
nass's user avatar
  • 1,448
2 votes
1 answer
640 views

In tmux on remote machine, each new line in terminal is indented to the end of the previously displayed line [closed]

Update: Solved thanks to comment by @NotTheDr01ds Original question (Details of the machines I'm using at end) I connect to a my Uni's VPN using: sudo /sbin/modprobe tun && sudo openconnect ...
mattb's user avatar
  • 877
0 votes
0 answers
308 views

iptables forward traffic between three interfaces

I'm trying to understand what is doing wrong (i'm newbie on iptables) with my iptables configuration. I'm having 3 interfaces running in the same machine and the connections was established in this ...
giovannivl's user avatar
0 votes
1 answer
1k views

How can i route specific traffic through VPN Client

I have VPN network based CentOS 8 with OpenConnect Package. I need to allow VPN clients to use their local internet for browsing instead of server side. Currently all VPN clients utilising server side ...
Rizwan Saleem's user avatar
0 votes
1 answer
157 views

Alias a command with the Incoming Prompt Options

I have an alias in my .zshrc which connects me to my VPN. The alias is like this: alias vvv="sudo openconnect xx.xx.xxx.xx" After running this command, I will be asked a yes/no question, ...
Majid Alaeinia's user avatar
5 votes
2 answers
4k views

How to shut down openconnect cleanly?

I tried using openconnect today for the first time to connect to my organization's VPN. However, once connected, it runs in the foreground of the terminal and the only way I could see to close the ...
Time4Tea's user avatar
  • 2,348
1 vote
2 answers
2k views

openconnect nexthop has invalid gateway and invalid values for route get request

I am trying to connect to my university network with openconnect. When I do, it asks for my credentials and then outputs the following: POST university_url Got CONNECT response: HTTP/1.1 200 OK CSTP ...
Mohammed Li's user avatar
5 votes
0 answers
315 views

Excluding specific routes from VPN when connecting via NetworkManager

I am using NetworkManager's openconnect plugin to connect to a VPN server. I would like to exclude specific routes from VPN so that they go outside the VPN. How can I do that with NetworkManager/...
Robert Munteanu's user avatar
3 votes
1 answer
4k views

Route all traffic through openconnect

I'm trying to connect to a business VPN (Cisco AnyConnect). I'm utilizing openconnect and a connection has been established. That connection is also seen by the ip add command. The default route ...
Gjert's user avatar
  • 131
4 votes
0 answers
725 views

openconnect doesn't work after suspend, I have to reboot to get it to work again

I have the following situation: I am connected to a VPN via openconnect. I disconnect (for example because I suspend my computer), and then when I try to reconnect, openconnect gives me the following....
Berber's user avatar
  • 141
19 votes
2 answers
110k views

ssh installed but I get the error: Failed to start ssh.service: Unit ssh.service not found

I have ssh and openconnect installed but when I proceed to start or stop the ssh service, I get the following error: Failed to start ssh.service: Unit ssh.service not found. Also, when I try sudo ...
borizzzzz's user avatar
  • 321
0 votes
1 answer
390 views

What is the correct way to install openconnect(ocserv-0.12.3-1.el7) package on CentOs 7

Take a look at all openconnect versions & this. What is the correct way to install openconnect(ocserv-0.12.3) package on CentOs 7? I tried these commands : sudo yum -y install epel-...
SilverLight's user avatar
4 votes
0 answers
1k views

Openvpn and openconnect are not working on Manjaro

I'm using Manjaro. I recently Installed OpenVPN and openconnect and both of them are installed with the latest version. When I try to use one ( Usually openconnect ) I use this command: sudo ...
Keipro's user avatar
  • 41
1 vote
0 answers
872 views

OpenConnect (ocserv) android app has TLS error on client side

I have a centos 7.6 vps as server with public ip address. Also i have an android phone + windows 7 os as clients with wireless internet. I installed OpenConnect (ocserv) on server machine & config ...
SilverLight's user avatar
0 votes
0 answers
1k views

OpenConnect (ocserv) Connected on client side, But Can not open any web page (NO INTERNET)

Consider these links : openconnect / ocserv openconnect / ocserv Installation - CentOS, RHEL, Fedora I have centos 7.6 as server with public ip. Also in client machine i have windows 7 os with ...
SilverLight's user avatar
0 votes
1 answer
1k views

How to build openconnect-gui? [closed]

In OS Windows I used openconnect-gui. After I changed the OS on Debian, I didn't find a version for Debian and I don't understand how to build openconnect-gui for Debian.
Nikolay Baranenko's user avatar
0 votes
2 answers
7k views

Bash-Script: How to insert Variables into Bash-Script?

The following bash script is working completely fine: #!/bin/bash echo '!PaSsWoRd!' | openconnect --csd-wrapper=/home/user/.cisco/csd-wrapper.sh --authenticate --user=abcde123 --authgroup="tunnel My ...
Dave's user avatar
  • 1,006
2 votes
0 answers
2k views

NetworkManager VPN timeout

I have a strange issue with NetworkManager. My Linux box is an openSUSE LEAP 15. Network is provided by NetworkManager. The local ethernet connection has static configuration. And I have a VPN ...
Peter's user avatar
  • 221
3 votes
2 answers
7k views

OpenConnect: Passing-over user password when executing authentication request?

Currently I am using the following command for executing authentication request to obtain the server certificate (FINGERPRINT) and OpenConnect-Cookie: openconnect --authenticate --user=<username&...
Dave's user avatar
  • 1,006
3 votes
1 answer
11k views

ConnMan: How to set up OpenConnect VPN with CSD-Wrapper correctly?

I want to access my personal network drive at my university via VPN from home. In the past I have been using NetworkManager for this what worked completely fine. However, recently I moved to ConnMan ...
Dave's user avatar
  • 1,006
14 votes
5 answers
21k views

How can I use openconnect in the background

I am going to connect to a VPN using openconnect on CEntOS 7 terminal. I only have one terminal because I am on a SSH session. I need to connect to the VPN using openconnect. I do so like this: ...
Mehdi Haghgoo's user avatar
2 votes
1 answer
2k views

Debian 9: Is there any GUI to add OpenConnect VPN-connection in ConnMan?

On a lightweight Debian machine I am using ConnMan instead of NetworkManager. For this I installed ConnMan based on the following packages: connman connman-vpn cmst Ethernet, wifi, virtual bridges ...
Dave's user avatar
  • 1,006
0 votes
2 answers
1k views

How to install open connect client on Amazon linux

sudo yum list all | grep openconnect NetworkManager-openconnect.x86_64 0.8.6.0-3.el6 epel openconnect.i686 7.07-2.el6 ...
sai's user avatar
  • 1
9 votes
2 answers
11k views

Openconnect won't connect in Arch Linux

I have been having some problems with openconnect in my Arch Linux (Antergos to be precise) and I have no idea what's causing it. (Although I'm used to linux and all, I'm very new to VPNs and ...
TomCho's user avatar
  • 529
3 votes
1 answer
1k views

Namservers reverted to normal shortly after connecting VPN using Openconnect

I've been working at my company for over a year, and have never had this particular issue with my VPN. Unfortunately, I don't know much about networking so I'm a little confused at what's happening. ...
Csteele5's user avatar
  • 133
4 votes
0 answers
3k views

Openconnect works via CLI; how can I get it to work in NetworkManager? [closed]

Openconnect works fine via the command line. $ sudo openconnect foo.com/bar POST https://foo.com/bar Attempting to connect to server 1.2.3.4:443 Connected to 1.2.3.4:443 SSL negotiation with foo.com ...
Sparhawk's user avatar
  • 19.8k
1 vote
0 answers
2k views

p11tool doesn't list my smart card on Ubuntu 17

When I run p11tool --list-tokens on Ubuntu 17 the certificates from my USB connected Sitecom smart card reader don't show up in the results. I was hoping to use p11tool to get the URL of the ...
Julius's user avatar
  • 111
0 votes
1 answer
613 views

OpenVPN client internet lost when connecting OpenVPN server to another VPN while OpenVPN server has the internet

I config OpenVPN service on CentOS 7 and Clients could connect to the server with no problem. the problem occurred when OpenVPN server connect to another VPN(openconnet VPN).at this time clients lost ...
Hossein Vatani's user avatar
6 votes
1 answer
9k views

How to stop openconnect from changing DNS settings

Since my college is using this horrible Cisco AnyConnect VPN, I am trying to find my way around their client software and discovered openconnect. So far it works great and thanks to a different ...
comfreak's user avatar
  • 161
2 votes
0 answers
1k views

OpenWRT - Openconnect VPN on isolated SSID

I'm trying to add a third SSID to my OpenWRT router which only connects users to an Openconnect VPN network. The router has two existing SSIDs which connect to the LAN+internet on 2.4 and 5.0 GHz ...
Daniel's user avatar
  • 669
3 votes
3 answers
4k views

openconnect VPN ceased to work after Fedora upgrade

I recently upgraded to fedora 25. Since then my VPN connection via openconnect (Cisco AnyConnect Compatible VPN) ceased to work. When I now try to define a new equivalent VPN connection, I get the ...
ingli's user avatar
  • 1,725
0 votes
1 answer
843 views

split tunnel vpn access point

I have not been able to find out how to do this. I have a vpn access point which uses openconnect and hostapd with the following vpn iptables rules pi@raspberrypi:~ $ cat /etc/iptables.ipv4.vpn.nat #...
user3554796's user avatar
3 votes
0 answers
886 views

OpenConnect only works once

I am using open connect to create a split VPN connection. It works great... the first time. If the openconnect process dies, subsequent tries appear to succeed, but leave me unable to actually access ...
beardslay's user avatar
1 vote
1 answer
2k views

How to pull VPN Certificate to put in Cert Store?

I frequently use the OpenConnect plugin for NetworkManager to access VPN resources. However, each time I activate the VPN profile it asks me if I would like to accept the certificate. Is there a way ...
sherrellbc's user avatar
  • 2,461
0 votes
1 answer
502 views

Need to Open Port 1111 in unix server

I have a request to open port 1111. Below is the output i get for netstat -nptl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address ...
user1643087's user avatar
3 votes
0 answers
309 views

How to split tunnel openconnet to let some apps directly connect to the internet?

I'm using openconnect on Linux Mint 17.1. when started, it tunnels the whole system, is there any way to set only some specific applications use this tunnel?
Mohsen Salahshoor's user avatar
24 votes
3 answers
24k views

OpenConnect: Setting default routes

I'm trying to use OpenConnect to connect to my company's Cisco VPN (AnyConnect) The connection seems to work just fine, what I'm not understanding is how to set up routing. I'm doing this from the ...
Aditya K's user avatar
  • 2,010