I'll add this just in case it'll be helpful for someone: when using
chroot, ovenpvn can't access /etc/localtime file and can't get correct
timezone, so you need to mount this file in chroot as well:
mkdir /etc/openvpn/etc
touch /etc/openvpn/etc/localtime
mount --bind /etc/localtime /etc/openvpn/etc/localtime

And write this changes in your /etc/fstab:
echo "/etc/localtime /etc/openvpn/etc/localtime none bind" >> /etc/fstab

-- 
Regards,
 Polotnyanko Nikita Sergeevich          mailto:[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to