client-config-dir Permission Denied to NFS mounted folder

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kfkehua
OpenVpn Newbie
Posts: 5
Joined: Tue Oct 24, 2017 4:00 pm

client-config-dir Permission Denied to NFS mounted folder

Post by kfkehua » Thu Jan 18, 2018 6:39 pm

Hi, we have large number of clients that connects into our office and we use the client-config-dir option to dish out client configs.
so far it works great. We wish to load balance the VPN servers and therefore have a centralized location to store the client-config files.
When we mount the NFS share to the VPN servers and point the client-config-dir option to that folder we get "Permission denied (errno=13)" when starting openvpn service. For some reason OpenVPN server can't access the mounted folder.

Things I've tried: chown the folder to openvpn, nobody, chmod to 777, change the server.conf file user and group option to the various different users, including root. Nothing has worked.

Any help would be appreciated.

thanks.

Post Reply