Questions tagged [openconnect]

OpenConnect is an SSL VPN client

OpenConnect is an SSL VPN client released under the GNU Lesser Public License.

45 questions
24
votes
3 answers

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 command line. I use the default VPN script to…
Aditya K
  • 1,950
  • 5
  • 18
  • 33
18
votes
2 answers

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 apt-get install ssh I get the following: sudo…
borizzzzz
  • 311
  • 1
  • 2
  • 11
13
votes
5 answers

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: openconnect -u username us.myprovider.net I need…
Mehdi Haghgoo
  • 543
  • 3
  • 8
  • 22
9
votes
2 answers

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 openconnect.) I'm trying to connect to my University's…
TomCho
  • 519
  • 1
  • 9
  • 29
5
votes
2 answers

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 connection was to use CTRL-C. Is this an acceptable…
Time4Tea
  • 2,288
  • 5
  • 23
  • 54
5
votes
1 answer

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 question here on StackExchange, I managed to make it…
comfreak
  • 151
  • 1
  • 5
4
votes
0 answers

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/openconnect?
Robert Munteanu
  • 900
  • 1
  • 14
  • 31
4
votes
0 answers

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. getaddrinfo failed for host '': Temporary…
4
votes
0 answers

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 openconnect server-address And then I use my username and…
Keipro
  • 41
  • 6
4
votes
0 answers

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

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 Connected to HTTPS on foo.com Got HTTP response:…
Sparhawk
  • 19,561
  • 18
  • 86
  • 152
3
votes
1 answer

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 according to ip route seems to be wlp5s0. How would I…
Gjert
  • 131
  • 1
  • 3
3
votes
2 answers

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= "VPN host" Hereby I always have to enter my…
Dave
  • 996
  • 4
  • 17
  • 36
3
votes
1 answer

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 and I don't know very well how to set it up…
Dave
  • 996
  • 4
  • 17
  • 36
3
votes
1 answer

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. Here's the behavior on a Fedora 25 workstation…
Csteele5
  • 133
  • 4
3
votes
3 answers

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 message Error: unable to load VPN connection…
ingli
  • 1,665
  • 1
  • 15
  • 33
1
2 3