ovpn-admin icon indicating copy to clipboard operation
ovpn-admin copied to clipboard

Change pass and Routing

Open weilong0820 opened this issue 2 years ago • 7 comments

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

weilong0820 avatar Mar 22 '22 01:03 weilong0820

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 avatar Apr 07 '22 20:04 mewallkit

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 avatar Apr 07 '22 20:04 mewallkit

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 avatar Apr 07 '22 21:04 mewallkit

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

weilong0820 avatar Apr 08 '22 04:04 weilong0820

@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

mewallkit avatar Apr 08 '22 12:04 mewallkit

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

weilong0820 avatar Apr 13 '22 07:04 weilong0820

I have the same problem,help me!!!

3721518 avatar Apr 22 '22 07:04 3721518