Comments (7)
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.
Haven't found a solution thus far. Thanks for piping up!
from docker-rancher-openvpn.
This propably won't help you, but I can confirm that Rancher auth works with Azure AD backend authentification configured.
from docker-rancher-openvpn.
@emcniece did you every find a solution to this issue?
from docker-rancher-openvpn.
Negative @janajri
from docker-rancher-openvpn.
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.
@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)
- LDAP Rancher template 1.0 bombs out after succesfull connect HOT 5
- DNS not working under macOS Sierra HOT 4
- Some env vars already "baked into" entrypoint script HOT 1
- LDAP additional filters
- Please allow configuring `comp-lzo` via env vars
- OpenVPN config not fully working on ubuntu HOT 2
- OPENVPN_EXTRACONF parameter in README.md may should be modified
- MTU mismatch
- current version is whether support rancher 2.4.x ?
- Multiline OPENVPN_EXTRACONF HOT 4
- openvpn-rancherlocal HOT 1
- upgrading != new certs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-rancher-openvpn.