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

0000688: NAT : Time rules / Conditions - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000688Endian FirewallFirewall (iptables)public2008-04-18 14:252010-09-24 09:07
0000688: NAT : Time rules / Conditions
* Include the possibility to open/close NAT :

 - at predefined times
   I.E. NAT for VPN access, each day between 9am and 10pm

 - heartbeat conditions
   I.E. default NAT port 80 goes to webserver A; when the webserver A is offline, the NAT rule change automaticaly for webserver B. (like failover)

 - other....
No tags attached.
has duplicate 0002727acknowledged  Time based rules 
Issue History
2008-04-18 14:25dgriessingerNew Issue
2008-04-18 14:25dgriessingerStatusnew => assigned
2008-04-18 14:25dgriessingerAssigned To => peter-endian
2008-05-20 07:32dgriessingerNote Added: 0001207
2009-06-10 13:37peter-endianAssigned Topeter-endian =>
2010-02-25 13:53peter-endianStatusassigned => new
2010-02-25 13:53peter-endianRelationship addedhas duplicate 0002727
2010-09-24 09:07peter-endianStatusnew => acknowledged

2008-05-20 07:32   
For time condition, we can use the patch time like :

iptables -A INPUT -m time --timestart 9:00 --timestop 22:00 -j ACCEPT