People who code: we want your input. Take the Survey

Questions tagged [openconnect]

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

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

Best way to connect to L2TP VPN from container running in GCP

I've built an ubuntu container locally that uses OpenConnect to establish a connection to a customer's AnyConnect VPN server. They also have an L2TP connection available as well. After OpenConnect ...
0
votes
0answers
18 views

Openconnect Systemd Unit Hardening: How to restrict access to devices and users

I am hardening my systemd service file for openconnect(8). In my setup, I am using vpn-slice to setup routes (I pass arguments such that it doesn't write to any files) and use various files to define ...
0
votes
0answers
13 views

FQDN not resolved to a correct IP address

I am trying to resolve problems with a workstation on a VPN network (typical academic Cisco setup) which I had no trouble accessin so far using openconnect. Recently, I lost connectivity to that ...
0
votes
1answer
143 views

IPv6 support makes openconnect server vpn connection too slow

I have set up an OpenConnect server (ocserv) on CentOS 8 that is quite fast. However, when I enable IPv6 on it by uncommenting the following line, it becomes painfully slow and upload becomes almost ...
0
votes
0answers
148 views

OCServ vpn with split tunnel not able to set default DNS server on an iOS client

I set up a Centos 7 server with ocserv. The following is the ocserv config. Split tunnel and tunnel-all-dns are enabled and I expect all dns queries go through the tunnel as I set dns server to 8.8.8....
0
votes
0answers
589 views

ocserv error GnuTLS error (at worker-vpn.c:): Error in the pull function

i installed ocserv on centos 7 and use free radius for authentication , but when online users grow up to 100 or 150 , i got error and any one can'ocserv.conft login to ocserv. ram and cpu usage of ...
1
vote
0answers
34 views

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

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 ...
1
vote
1answer
672 views

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

How can I connect to a 2FA VPN on Linux?

I need to connect to the office VPN from a linux machine. I'm able to connect to it only via Citrix NetScaler Gateway on Windows. The connection needs the secondary password (in my case is an OTP from ...
1
vote
0answers
474 views

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 <my_corporate_VPN_url> I'm doing this from three physical instances of ...
9
votes
2answers
5k views

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

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

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

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

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. # ...
4
votes
3answers
9k views

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

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 ...
1
vote
1answer
286 views

openconnect on startup at debian wheezy through ssh [closed]

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

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 ...
8
votes
5answers
23k views

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="<endpoint> --script /etc/vpnc/vpnc-script --user <...
0
votes
0answers
61 views

OpenConnect causing problems with httpd service

My httpd service was working properly, however whenever using OpenConnect through the box I can no longer connect to the box's webserver, it's giving me a 522 timeout error. Maybe I'm going about ...
1
vote
1answer
394 views

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 ...