SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004497: Openvpn GUI settings not saved to settings file - settings file resets when saving via GUI - MantisBT Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004497Endian FirewallOpenVPN Client and Serverpublic2012-11-14 08:342013-03-22 16:26
Assigned To 
PlatformOSOS Version
Product Version2.5 
Target VersionFixed in Version 
Summary0004497: Openvpn GUI settings not saved to settings file - settings file resets when saving via GUI

I upgraded our firewall from 2.4.1 to 2.5. I restored a backup to do this, mainly because we have around 150 openvpn users I didn't want to recreate.

When I try to save global options in the GUI, nothing is saved to the /etc/openvpn.conf file. When I edit the conf file and restart the Openvpn service through SSH, everything is OK and the options are pushed correctly. The options aren't displayed in the GUI though.

When I then try to change a global option in the GUI, or even just click the save & restart button in the GUI, the openvpn.conf file gets reset to default, and my clients receive the DNS servers below instead of their correct ones (at that moment no DNS servers are defined in the conf file because of the reset)

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
ipanema211 (reporter)
2013-01-07 17:33


Dear staff, this is a real bug. Please take a look at it...

I confirm this happens to all systems when restoring a 2.4 backup!
richardskamar (reporter)
2013-03-22 16:26

I've had a similar problem however it is when i edit var/efw/openvpn/settings file and make changes for my ldap settings, the parameters within the file specifically the following lines

LDAP_BIND_DN=cn=EndianLDAP,ou=Service Accounts,dc=mydomain,dc=com

LDAP_USER_BASEDN=ou=All Users,dc=mydomain,dc=com

after administering VPN via SSH and restart the openvpn service through SSH, everything is OK however when I then try to change a global option in the GUI, or even just click the Save & Restart button in the web GUI (VPN > Advanced), the settings file (var\efw\openvpn\settings gets modified as shown below from the original modification above, and my clients receive a auth error trying to VPN in. Note the added quotations appended.

LDAP_BIND_DN='cn=EndianLDAP,ou=Service Accounts,dc=mydomain,dc=com'

LDAP_USER_BASEDN='ou=All Users,dc=mydomain,dc=com'

These qoutes now appear and seem to causing a problem, thus to remedy have to make all global changes first then edit settings file and restart openvpn service via ssh interface.

- Issue History
Date Modified Username Field Change
2012-11-14 08:34 ipanema211 New Issue
2013-01-07 17:33 ipanema211 Note Added: 0008362
2013-03-22 16:26 richardskamar Note Added: 0008395

Copyright © 2005-2008 Endian, SRL. All rights reserved.

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker