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
Notes |
|
|
|
|
|
I don't understand exactly what you mean with iptables. But i was wondering if it was possible to implement a web ui where we can configure time based routing policies (something like dd-wrt has) in endian (without of course using iptables and cron by CLI)
thanks. |
|
|
(0006753)
|
aender
|
2011-06-20 11:51
|
|
Endian firewall rules uses iptables. And iptables support time based rules per default. So there is no need to use cron.
iptables RULE -m time --timestart TIME --timestop TIME --days DAYS -j ACTION
So you can allow e.g. ssh from 6am to 6pm. |
|
|
|
thank you for the reply, if this is "that easy" i hope there will be a way to implement it into "network --> routing --> policy routing"
so that will be easy to set up time based policy rules from the the web UI |
|