Iptables Restricting Access By Time Of The Day

Posted on in Categories Debian Linux, Howto, Iptables, Linux, Linux desktop, RedHat/Fedora Linux, Sys admin, Tips, Ubuntu Linux last updated November 15, 2009

Recently I was asked to control access to couple of services based upon day and time. For example ftp server should be only available from Monday to Friday between 9 AM to 6 PM only. It is true that many services and daemons have in built facility for day and time based access control.