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
|Anonymous | Login||2021-12-07 02:56 UTC|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004497||Endian Firewall||OpenVPN Client and Server||public||2012-11-14 08:34||2013-03-22 16:26|
|Target Version||Fixed in Version|
|Summary||0004497: 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
|Tags||No tags attached.|
THIS BEHAVIOUR IS REPRODUCEABLE!!!
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!
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
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.
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.
|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 © 2000 - 2012 MantisBT Group|