Questions tagged [openconnect]

OpenSource is an open source VPN.

65 questions
8
votes
2 answers

OpenConnect autoconnect/reconnect script?

I have this script: #!bin/bash NAME="user" PIDFILE="openconnect.pid" CERT="user.crt" KEY="user.key" PASS="pass" HOST="https://example.com" SCRIPT="/etc/vpnc/vpnc-script" openconnect -b --script $SCRIPT --pid-file=$PIDFILE -c $CERT -k $KEY…
Andrius
  • 19,658
  • 37
  • 143
  • 243
7
votes
2 answers

How to use openconnect to connect to vpn with 2 factor authentication with Google Authenticator

I would like to connect to vpn using openconnect. Our company uses Google Authenticator codes.
vozman
  • 1,198
  • 1
  • 14
  • 19
4
votes
1 answer

Unable to make Docker container use OpenConnect VPN connection

I have a VM running Ubuntu 16.04, on which I want to deploy an application packaged as a Docker container. The application needs to be able to perform an HTTP request towards a server under VPN (e.g. server1.vpn-remote.com) I successfully configured…
giob12
  • 83
  • 4
  • 7
4
votes
2 answers

Can you explain the RP->OP part in openid connect flow?

I don't understand the 1 part. For example, I have a website asdf.com and use google OP, so I have a login with google button with a link(something like https://account.google.com/XXX?return_url=asdf.com) to google site on my website. So the user…
Sato
  • 8,192
  • 17
  • 60
  • 115
4
votes
2 answers

openconnect password and cookie input

After 2-3 day search and work now i hope you can help ... I want to use from openconnect in my program and for auth have 2 solution 1 - use from user and pass (but pass dont have any option for command line and only with standard input can input…
Sara
  • 209
  • 1
  • 3
  • 10
3
votes
1 answer

Exit terminal after executing a command from .xbindkeysrc

I'm trying to bind a command to a key using .xbindkeysrc, namely this command retrieves a password from keepassxc, and echoes it as stdin to an openconnect (for VPN connection) command, and finally closes the terminal. The following does all of…
Miguel
  • 356
  • 1
  • 15
3
votes
1 answer

Add additional query parameters to the Azure B2C login url

I'm implementing Azure B2C to a .NET MVC app, and I need to add an extra query parameter to the login url. Here's how I've set it up in the startup.cs var openIdConnectAuthenticationOptions = new OpenIdConnectAuthenticationOptions { …
3
votes
1 answer

How to force 'OpenConnect' client to use TLS 1.0

I'm using 'OpenConnect version v8.05' on Red Hat Enterprise Linux 8.1 (Ootpa) in order to connect to a server. The server only accepts SSLv3, TLSv1.0 ciphers and I don't have access to the server for security update/upgrade. When I try to connect: …
Kayvan Tehrani
  • 3,070
  • 2
  • 32
  • 46
3
votes
0 answers

On OpenConnect VPN, Docker containers have DNS but host machine does not

When I connect to a VPN using open connect, the docker containers that run afterwards have the ability to use DNS but the host machine itself does not. If I look at the contents of /etc/resolv.conf in the containers, the file has the DNS servers in…
EddieL434
  • 31
  • 4
3
votes
0 answers

nameservers update differently with openconnect and openconnect-gnome in ubuntu 18.04

This seems to be a new issue with network-manager-openconect-gnome in Ubuntu 18.04+ I install sudo apt install network-manager-openconnect-gnome to get gnome integration with opeconnect and Cisco AnyConnect Compatible VPN (openconnect) As an aside…
eotfofiw
  • 101
  • 2
3
votes
1 answer

Unsupported major.minor version 52.0 using ant

I'm trying to compile ics-openconnect android application(https://github.com/cernekee/ics-openconnect). I followed that 'ReadMe'. But, when I try to debug, it occurs error. error: -dex: [dex] input: /home/yj/ics-openconnect/bin/classes [dex]…
김유진
  • 39
  • 1
  • 3
3
votes
3 answers

Openconnect not able to connect to gateway

I am not able to connect via openconnect VPN client from my ubuntu 14.04 system. I used to connect to to this VPN 1 month back and since then I had not made any changes to the VPN client settings. This is the error I am getting in the logs. POST…
Tarun Upadhyay
  • 724
  • 2
  • 7
  • 16
2
votes
1 answer

DTLS handshake failed in ocserv and openconnect

I configured the ocserv on my Ubuntu server with this specefication in /etc/ocserv/ocserv.conf file: auth = "plain[passwd=/etc/ocserv/ocpasswd]" tcp-port = 443 udp-port = 443 run-as-user = nobody run-as-group = daemon socket-file =…
danial
  • 117
  • 2
  • 8
2
votes
0 answers

OpenIdDict with multiple AddValidation for an ASP.NET core/6.0 API

I'm having a RESTful Asp.NET Core/6.0 API, were I'm using an separate Auth-Server with OpenIdDict. My problem is I created two applications one with grant-type Client-credentials (for machine-to-machine communication) and one with grant-type…
2
votes
0 answers

How to make openconnect work with docker?

Following up on How make openvpn work with docker, I have recently installed privacy vpn, and it turns out that enabled openvpn breaks docker. When I try to run docker-compose up i get following error. . . Disabling vpn fixes the problem (however…
xpt
  • 20,363
  • 37
  • 127
  • 216
1
2 3 4 5