Questions tagged [openconnect]

OpenSource is an open source VPN.

65 questions
2
votes
0 answers

DTLS handshake problems with ocserv

I have a problem with the configuration of ocserv on CentOS 8. When I try to connect, a DTLS handshake problem occurs on the client side: 16:50:51 LIB: DTLS handshake timed out 16:50:51 LIB: DTLS handshake failed: Resource temporarily unavailable,…
2
votes
0 answers

Spring Boot Application cannot connect to server through VPN

I have a spring boot application that connects to a server through vpn. It works well on windows but when deployed on linux server it throws org.springframework.ws.client.WebServiceIOException: I/O error: Read timed out; nested exception is…
user3095242
  • 133
  • 1
  • 1
  • 8
2
votes
1 answer

kubernetes liveness probe restarts the pod which ends in CrashLoopback

I have a deployment with 2 replicas of nginx with openconnect vpn proxy container (a pod has only one container). They start without any problems and everything works, but once the connection crashes and my liveness probe fails, the nginx container…
bartimar
  • 3,374
  • 3
  • 30
  • 51
2
votes
1 answer

openconnect in dockers/IBM bluemix (Error: TUNSETIFF failed: Inappropriate ioctl for device)

I've created my own container image based on Ubuntu 14.04 and installed openconnect using apt-get. I can ping google, and access the app I have running on the port I expect. Now I am trying to get a VPN connection from the container to a on-prem…
Thomas Hubregtsen
  • 449
  • 1
  • 5
  • 22
1
vote
1 answer

smartcard + configfile: how to avoid error "File name too long"?

I am trying to change my openconnect usage from command line to configfile. I need to use a smartcard (StarSign CUT S, from Giesecke & Devrient GmbH) in order to access my VPN. My current command line works fine and I can connect to the VPN: $…
Djunzu
  • 498
  • 2
  • 12
1
vote
1 answer

Traefik does not use cert file provided for OpenConnect VPN

I have setup traefik in docker and use let's encrypt on the domain example.tld with some services: traefik: image: "traefik:2.8.2" container_name: "traefik" hostname: "traefik" restart: always command: -…
Konstantin
  • 29
  • 4
1
vote
1 answer

KeyCloak login with Google in Flutter/Android app

I am working on a Flutter app, which uses KeyCloak for Authorization in the backend. Login with username and password is implemented. I want to implement login with Google. Do anyone know, which KeyCloak endpoint and parameters are used for…
Naveed Jamali
  • 748
  • 8
  • 14
1
vote
0 answers

How to make openconnect app for android makefile?

How to build openconnect app from makefile on github? https://github.com/openconnect/openconnect.git Am I doing the right thing? cd openconnect/android make Error output ERROR: Unknown option '--system'. See --help for usage. make: ***…
sasha-ld
  • 11
  • 1
1
vote
0 answers

TPM, Openconnect. The requested PKCS #11 object is not available

I have a problem with openconnect VPN using TPM and certificate. Using certificate file /etc/pki/XXXX/XXXXX.crt Error importing PKCS#11 URL…
Maxim Panfilov
  • 371
  • 4
  • 15
1
vote
1 answer

Redirection unexpected /bin/sh: 1:

I am receiving this error: /bin/sh: 1: Syntax error: redirection unexpected Traceback (most recent call last): File "vpntest.py", line 24, in output = check_output(command, shell=True) File "/usr/lib/python2.7/subprocess.py", line…
user13687047
1
vote
0 answers

OpenConnect VpnService for Android

As I know there no API to support PPTP or L2TP connections inside android, so I switched to using openconnect (ocserv). Is there any VpnService or API to connect to ocserv using Android? I tried the sample app (ics-openconnect) but the source code…
Arrowsome
  • 2,649
  • 3
  • 10
  • 35
1
vote
2 answers

vpnc-scripts/vpnc-script: not found ubuntu 18.04 with openconnect

"" /bin/sh: 1: /usr/share/vpnc-scripts/vpnc-script: not found Script '/usr/share/vpnc-scripts/vpnc-script' returned error 127 /bin/sh: 1: /usr/share/vpnc-scripts/vpnc-script: not found Script '/usr/share/vpnc-scripts/vpnc-script' returned error…
Akhil
  • 51
  • 7
1
vote
1 answer

How to feed command inputs run with Popen programmatically in Python?

I created a Python script that performs several REST API calls to fetch a cookie which then used a password for the openconnect application by piping an echo "my cookie value" to the openconnect command. The purpose is to basically connect to a…
Natalie Perret
  • 8,013
  • 12
  • 66
  • 129
1
vote
2 answers

How would you install openconnect via nix on macOS latest?

I’m new to nix and would like to be able to install openconnect with it. Darwin seems to be unsupported at this time via nix, though it can be installed with either brew or macports. I’ve tried both a basic install and allowing unsupported. I…
ldeck
  • 227
  • 1
  • 10
1
vote
1 answer

Facing Login Issue of Local Accounts user with OpenId Connect in Azure B2C

1. I am trying to implement SSO through OpenIdConnect with AzureB2C but was facing some problem during login of Local Account Users with OpenId Connect which was configured on Azure B2C. 2.When i run our user flow and try to login with local account…