Coder Social home page Coder Social logo

Comments (7)

dwene avatar dwene commented on June 24, 2024

I'm in the same boat with you, seems you cant make this work when rancher auth is configured with github. And sadly Rancher wont allow you to change auth mechanisms once you've set them up.

from docker-rancher-openvpn.

emcniece avatar emcniece commented on June 24, 2024

Haven't found a solution thus far. Thanks for piping up!

from docker-rancher-openvpn.

tvollstaedt avatar tvollstaedt commented on June 24, 2024

This propably won't help you, but I can confirm that Rancher auth works with Azure AD backend authentification configured.

from docker-rancher-openvpn.

janajri avatar janajri commented on June 24, 2024

@emcniece did you every find a solution to this issue?

from docker-rancher-openvpn.

emcniece avatar emcniece commented on June 24, 2024

Negative @janajri

from docker-rancher-openvpn.

bjerkins avatar bjerkins commented on June 24, 2024

haven't tested it yet but perhaps you could generate Account API Key (API > Keys > Add Account API Key) and use the generated Access Key (Username) and Secret Key (Password) for the VPN prompt ?

from docker-rancher-openvpn.

laukaichung avatar laukaichung commented on June 24, 2024

@bjerkins
I've tried your suggestion. I've tried local auth instead of Github auth, but the access and secret key credentials do not work with openvpn.

Here are the environments:

    environment:
      AUTH_METHOD: rancherlocal
      AUTH_RANCHERLOCAL_URL: http://rancher-ip:8080/v1/token
      CERT_CITY: Birmingham
      CERT_COUNTRY: US
      CERT_EMAIL: [email protected]
      CERT_ORG: ACME
      CERT_OU: IT
      CERT_PROVINCE: AL
      OPENVPN_EXTRACONF: ''
      REMOTE_IP: hostip
      REMOTE_PORT: '1194'
      VPNPOOL_CIDR: '16'
      VPNPOOL_NETWORK: 10.43.0.0

from docker-rancher-openvpn.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.