Comments (4)
Hi @Alex-Giaquinto,
Thanks for the reporting.
Vars export should be done before the first start of the container (otherwise it will not create user correctly).
For you solution will be following:
Stop application. Drop database file:
kalimera@kaliserver:~/openvpn-server/db $ rm data.db
rm: remove write-protected regular file 'data.db'? yes
this will clear all UI users configuration.
Then run export again:
export OPENVPN_ADMIN_USERNAME=admin
export OPENVPN_ADMIN_PASSWORD=MyPassword
Double check that environment is updated properly
echo $OPENVPN_ADMIN_USERNAME
echo $OPENVPN_ADMIN_PASSWORD
The output will be:
admin
MyPassword
Then start application again. It will create all the users and hash your password into DB.
For security reasons you have to unset these vars after success login, so it will be removed from the local server environment:
unset OPENVPN_ADMIN_USERNAME
unset OPENVPN_ADMIN_PASSWORD
This username and password export needs to be done only once, on the first application run, when application creates DB and users for access.
from openvpn-ui.
Hey! @d3vilh sorry for the late reply. Thanks for the detailed response! So I did all of this and I am still unable to get in. Anything I can show you that might help?
from openvpn-ui.
Anything I can show you that might help?
Hi @Alex-Giaquinto, sorry for the late reply! My main job has been super demanding lately 🙃
Yes, if you could share your session log, like commands you execute one by one with output it would be very nice (hide passwords) and running application log.
This would help with debugging.
I also did short update for Standalone installation procedure.
from openvpn-ui.
Pin this one and closing.
from openvpn-ui.
Related Issues (20)
- Client configuration menu issues HOT 3
- OpenVPN issue when missing /etc/openvpn/config/easy-rsa.vars HOT 5
- Credits to authors HOT 3
- Docker Compose Manual Install with Server + UI Issues and 2FA problems HOT 2
- Port forwarding to client HOT 2
- Server config location issue HOT 3
- possible to use the UI on existing vpn server installation ? HOT 9
- Access to the panel via API requests HOT 1
- /etc/openvpn/server.conf issue HOT 2
- 127.0.0.1:53 misbehaving HOT 3
- Enhance OpenVPN Experience with Seamless MFA During Network Transitions HOT 5
- openvpn not starting: Extension MASQUERADE revision 0 not supported HOT 7
- [intensifier]Encrypted with tls-crypt-v2 HOT 1
- Mapping Error MB HOT 3
- ./openvpn-ui: cannot execute: required file not found HOT 6
- Configuration -->Client webpage error HOT 2
- Connect problem HOT 5
- Multiple net.ipv4.ip_forward = 1 in /etc/sysctl.conf HOT 1
- Unable to set OpenVPN Client config protocol to TCP via UI HOT 4
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 openvpn-ui.