On Saturday, September 24, Kiraly Zoltan wrote: > I want to build a home network using OpenBSD as gateway. A child in > network have a computer, and like to surf the Internet. I want to drop > her Internet connection at night (11:00AM) because the child don't go to > sleep. > > I don't want to unplug the network cable, i need to do this job with > OpenBSD. > > Exist a proxy server or solution which limit the Internet connection > using time? An example: Drop internet connection at 11:AM night and > allow Internet at 6:00 AM morning. > > Thank you very much
/etc/pf.conf-day /etc/pf.conf-night root cron job: 11pm: cp /etc/pf.conf-night /etc/pf.conf; pfctl -f /etc/pf.conf 6am: cp /etc/pf.conf-day /etc/pf.conf; pfctl -f /etc/pf.conf --Toby.