Project

General

Profile

Actions

Bug #4890

closed

OpenVPN - File created with ifconfig-pool-persist is destroyed upon system reboot

Added by David Williams over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
07/27/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2.x
Affected Architecture:

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.

Actions #1

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/

Actions

Also available in: Atom PDF