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

0002983: OpenVPN: Routes don't get set - 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
0002983Endian FirewallOpenVPN Client and Serverpublic2010-06-07 08:322010-11-22 12:08
Reporterdukeluke 
Assigned Todukeluke 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.4 
Target VersionFixed in Version2.4.1 
Summary0002983: OpenVPN: Routes don't get set
DescriptionI've installed the 2.4 endian community edition on a new machine, and recovered from an config backup of 2.3. OpenVPN works, but the routes don't get automatically set. I have to execute remoteroute.py manually.
The following messages i get:
Jun 7 07:40:42 efw sudo: openvpn : 3 incorrect password attempts ; TTY=unknown ; PWD=/var/openvpn ; USER=root ; COMMAND=/usr/local/bin/remoteroute.py add juergen 192.168.1.202
Jun 7 07:40:42 efw sudo: openvpn : 3 incorrect password attempts ; TTY=unknown ; PWD=/var/openvpn ; USER=root ; COMMAND=/usr/local/bin/setdnat.py
TagsNo tags attached.
Attached Files? file icon sudoers [^] (4,171 bytes) 2010-06-07 09:13 [Show Content]

- Relationships
has duplicate 0002938closed OpenVPN Route Problem 
related to 0002984closedpeter-endian missing sudoers lines for triggers called when an openvpn user connects 

-  Notes
(0004378)
peter-endian (administrator)
2010-06-07 09:04

can you please post the output of:

grep remoteroute /etc/sudoers

and check if there is a /etc/sudoers.rpm* using:

ls -l /etc/sudoers*
(0004379)
peter-endian (administrator)
2010-06-07 09:09

or even better, please post your /etc/sudoers file
(0004380)
dukeluke (reporter)
2010-06-07 09:14

root@efw:/var/log # grep remoteroute /etc/sudoers
nobody ALL=NOPASSWD: /usr/local/bin/remoteroute.py

root@efw:/var/log # ls -l /etc/sudoers*
-r--r----- 1 root root 4171 May 31 18:24 /etc/sudoers
(0004388)
dukeluke (reporter)
2010-06-07 09:53

added
openvpn ALL=NOPASSWD: /usr/local/bin/setdnat.py
openvpn ALL=NOPASSWD: /usr/local/bin/remoteroute.py
to /etc/sudoers, now it works!

- Issue History
Date Modified Username Field Change
2010-06-07 08:32 dukeluke New Issue
2010-06-07 09:04 peter-endian Note Added: 0004378
2010-06-07 09:04 peter-endian Status new => feedback
2010-06-07 09:09 peter-endian Note Added: 0004379
2010-06-07 09:13 dukeluke File Added: sudoers
2010-06-07 09:14 dukeluke Note Added: 0004380
2010-06-07 09:16 peter-endian Issue cloned: 0002984
2010-06-07 09:16 peter-endian Relationship added related to 0002984
2010-06-07 09:43 peter-endian Relationship added has duplicate 0002938
2010-06-07 09:53 dukeluke Note Added: 0004388
2010-06-07 09:54 dukeluke Status feedback => resolved
2010-06-07 09:54 dukeluke Resolution open => fixed
2010-06-07 09:54 dukeluke Assigned To => dukeluke
2010-11-22 12:08 peter-endian Fixed in Version => 2.4.1
2010-11-22 12:08 peter-endian Status resolved => closed

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


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker