Questions tagged [openconnect]

OpenConnect is a client for Cisco's AnyConnect SSL VPN.

OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is supported by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800, 7200 Series and Cisco 7301 Routers, and probably others.

OpenConnect is released under the GNU Lesser Public License, version 2.1.

23 questions
25
votes
2 answers

openconnect cannot connect to Anyconnect VPN group using -g

I am using openconnect to connect to a VPN. When starting the client as sudo openconnect -v -u anaphory vpn-gw1.somewhere.net, I am able to connect after entering the GROUP and Password. # openconnect -v -u anaphory vpn-gw1.somewhere.net […] XML…
Anaphory
  • 351
  • 1
  • 3
  • 6
9
votes
2 answers

Openconnect and Pulse Stopped Working

I connect to a pulse VPN via sudo openconnect --juniper {{myserver}} and it has worked for months. This morning when I try to get in, after accepting the cert and doing username/password it just ends with Connected to HTTPS on {{myserver}} Got HTTP…
Feasoron
  • 231
  • 2
  • 7
8
votes
5 answers

Supplying password to openconnect started via start-stop-daemon

I am attempting to start openconnect via a Debian init script that makes use of start-stop-daemon: DAEMON=/usr/sbin/openconnect DAEMON_ARGS=" --script /etc/vpnc/vpnc-script --user --pid-file $PIDFILE --passwd-on-stdin" PASSWORD=`cat…
6
votes
2 answers

How do I supply a password to NetworkManager-openconnect automatically?

I am running a RedHat Enterprise Linux 7.3 server with NetworkManager 1.4 that needs periodic access over VPN to a client's network using openconnect 7.06-1.el7. I can use nmcli to connect with the --ask option without problems, but it obstinately…
Brad
  • 161
  • 1
  • 1
  • 2
5
votes
3 answers

LAN access with Cisco AnyConnect Secure Mobility Client v. 3.0.4235

Whenever I connect to a VPN server using the Cisco AnyConnect Secure Mobility Client v. 3.0.4235 (probably also with other versions) I lose access to my LAN. I hope to remedy this by manually adding some routes which AnyConnect deletes. Below is my…
Wuhtzu
  • 326
  • 2
  • 4
  • 8
4
votes
0 answers

Does openconnect have native support for Pulse Secure?

Since they rolled out Pulse Secure in place of Network Connect, I have been attempting to connect to my company's vpn using openconnect. I am seemingly able to run openconnect without errors, do the the 2-factor auth, etc. but am subsequently unable…
jerome
  • 203
  • 1
  • 2
  • 6
3
votes
0 answers

Ubuntu & OpenConnect : any way to provide additional arguments?

I'm using OpenConnect to connect to my workplace via VPN. This works fine, but I'd like to use Ubuntu's network manager to establish connections. I guess it's a matter of having all connections managed by the network manager, and have connections…
sbrattla
  • 1,456
  • 3
  • 26
  • 48
2
votes
0 answers

SSL_ERROR_SYSCALL in docker container when using openconnect vpn

I'm developing a telegram bot, but the API is banned here (Iran) so i have to use VPN or cant make a single call to the BOT API. for development i'm using docker,docker-compose in Ubuntu-18 and my VPN client is an Open-connect Cisco VPN. when i…
Arash Moosapour
  • 121
  • 1
  • 5
2
votes
1 answer

establish openconnect without lose ssh connection

In my linux VPS, I want access to special web service that check my VPS IP, so i must use VPN. but when establishing my VPN using openconnect , I'm lost ssh and control over my VPS ? any workaround to have VPN and access to my server public IP ?
2
votes
1 answer

openconnect VPN works in KDE NetworkManager widget but not on command line

I need to connect to a Cisco VPN on Linux and at first I did this using the KDE NetworkManager plasma widget thingy. That worked fine and I'm able to connect to the VPN if I choose it from the Network Manager widget. However, if I try using the…
StFS
  • 273
  • 2
  • 9
1
vote
0 answers

Tunnel all traffic through VPN except a specific network

I am using openconnect on a remote CentOS 7.5 to connect to a VPN on another network. When I ssh to that machine and connect to VPN, my ssh connection breaks. Both my CentOS and desktop machines are on 10.1.1.x zone. How can I add exception to…
sorush-r
  • 151
  • 1
  • 5
1
vote
1 answer

No network connection after killing openconnect process

I use openconnect to connect to my VPN server, one strange thing I've noticed is that if I use kill or pkill command to kill a background running openconnect process then the whole Linux network will be unusable, I've to reboot the system to get it…
Tonni
  • 21
  • 2
1
vote
0 answers

How to debug tun0 issues with OpenConnect Juniper

I'm using OpenConnect in Debian testing to connect to a corporate Juniper VPN, this way: sudo openconnect --juniper -v I'm doing this from three physical instances of this OS and in all cases I'm passing authentication…
1
vote
1 answer

openconnect on startup at debian wheezy through ssh

I am trying to connect to Cisco vpn using open connect. I can do it with the terminal where it asks for my user and pass. However, is there any method for automating this on login.
Ishan
  • 11
  • 1
1
vote
1 answer

Writing an upstart file which allows the user to input username and password

I'm trying to write an upstart file for OpenConnect. The task is pretty simple, but I'm stuck because I don't want to provide the username and password in a config file, but prompt the user to provide them each time. The upstart file, placed in…
Robert Munteanu
  • 1,542
  • 5
  • 22
  • 38
1
2