Bug #4890
closedOpenVPN - File created with ifconfig-pool-persist is destroyed upon system reboot
0%
Description
Issue: File created with the ifconfig-pool-persist Advanced Configuration option is destroyed upon system reboot.
Details: In the server Advanced Configuration, specify a file with the ifconfig-pool-persist option. Example: "ifconfig-pool-persist /var/etc/openvpn/server2-ipp.txt;"
The file and entries remain when restarting the OpenVPN server instance.
However, the entire file is destroyed upon a system reboot.
This even occurs if the [seconds] are set to "0" to make the file read-only by the server.
This was not the behavior in 2.1. Not sure exactly when it was introduced.
Updated by Jim Pingle over 9 years ago
- Description updated (diff)
- Status changed from New to Rejected
Files under /var/etc are not meant to be touched by human hands. For persistent files, place them in a location that is not wiped at reboot like /root/ or /conf/