Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pass and Routing #108

Open
weilong0820 opened this issue Mar 22, 2022 · 7 comments
Open

Change pass and Routing #108

weilong0820 opened this issue Mar 22, 2022 · 7 comments

Comments

@weilong0820
Copy link

Hello. Why after install i not see Change Pass and Routing? Can you help me. Thanks!

@mewallkit
Copy link

mewallkit commented Apr 7, 2022

it is necessary in the docker-compose file.yaml
add variables
OVPN_CCD: "True"
OVPN_CCD_PATH: "/mnt/ccd"
and stop docker container for example so docker stop $(docker ps -a -q)
and ./start.sh from dir ovpn-admin

if there are no files with the user name in the sv directory, then when you click edit routes, the openvpn-master_ovpn-admin_1 container crashes, so you need to pre-create files with the user name, for example, touch ./ccd/username or >./ccd/username

@mewallkit
Copy link

mewallkit commented Apr 7, 2022

after adding variables
OVPN_AUTH: "true"
OVPN_AUTH_DB_PATH: "/mnt/easyrsa/pki/users.db"
the container stopped breaking when clicking on the "edit routes" button, but when setting a password, a users database file is created.db is empty, any actions do not lead to success, the user connecting may not enter a password and will connect successfully

@mewallkit
Copy link

mewallkit commented Apr 7, 2022

according to the script ovpn-admin/setup/configure.sh
if [ ${OVPN_PASSWD_AUTH} = "true" ]; then

the variable
OVPN_PASSWD_AUTH: "true"
the command was still not executed, I had to force the execution of commands by commenting on the 2 line execution conditions
#if [ ${OVPN_PASSWD_AUTH} = "true" ]; then
#fi;
as a result , it works

@weilong0820
Copy link
Author

@mewallkit So Route button? after install i not see Route button

@mewallkit
Copy link

mewallkit commented Apr 8, 2022

@weilong0820 if you are using docker you need to find the docker-compose file.yaml and make changes as written above
after restarting the containers using the script ./start.sh you will have buttons depending on which variables you have added
images:
https://ibb.co/4R1895W
https://ibb.co/CPsJjG0

@weilong0820
Copy link
Author

i dont know why i clicking edit router button then container is stop ><

@3721518
Copy link

3721518 commented Apr 22, 2022

I have the same problem,help me!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants