Open kabaret10 opened 3 years ago
I created some files under ccd
and I'm having the same issue when mounting the volume, it's weird because apparently folders and files have the same permissions and owners as pki
for example but if I figure out what's happening I'll post here the result.
Ok, so generating the file and mounting the volume, the resulting ccd file had the following permissions:
-rwx------ 1 1000 1000 43 Dec 14 20:09 my_client
but entering the container and regenerating the file from inside bash on the container using:
echo "ifconfig-push 192.168.254.1 192.168.254.2" | tee /etc/openvpn/ccd/my_client
generated the file with the following owner and permissions:
-rw-r--r-- 1 root root 42 Dec 14 20:37 my_client
And this last one worked
Hello there, I've done chmod 600 on whole volume directory and now in logs i have 2 errors about access to ccd directory. What directory permission will resolve this issue and would be safe? drw------- 5 root 65533 4096 Aug 5 15:06 openvpn-volume
btw. using OVPN version 2.3 in 2020 is still safe with this config I've made? Im using Raspberry Pi and have no choice :-).