this post was submitted on 29 Jun 2023
1 points (66.7% liked)
VPN
951 readers
14 users here now
A community for VPN users and those who want to know more about them.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Answered by ai.
No, renaming your .ovpn files as .conf will not make OpenVPN pick a random one or go in alphabetical order until it finds one that works. The scanning of /etc/openvpn directory on boot is performed by the OpenVPN service, and it expects the configuration files to have a .conf extension.
If you want to have OpenVPN pick a random or specific .ovpn file each time, you can create a single .conf file that includes the individual .ovpn files. Here's an example:
Make sure to set the correct permissions for the random.sh file using the command: