ovpn-admin
ovpn-admin copied to clipboard
Change pass and Routing
Hello. Why after install i not see Change Pass and Routing? Can you help me. Thanks!
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
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
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
@mewallkit So Route button? after install i not see Route button
@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
i dont know why i clicking edit router button then container is stop ><
I have the same problem,help me!!!