PDA

View Full Version : [ubuntu] Block Service from network



themagicmanfromtrent
April 17th, 2010, 11:33 AM
I have a service on a jaunty server which I want to keep running night and day, but which I want to disallow access to the internet (and not the network) at certain times during the day. How can I achieve this without killing the service?

Iowan
April 17th, 2010, 05:36 PM
A cron job and iptable rules sounds like an option, but I don't have the necessary code for you :(
My DSL modem/router has options to set time limits.