On Saturday 31 August 2002 07:15 pm, Mick wrote:
> G'Day all.
>
> First of all thanks to everyone involved with the leaf project, it is a
> great distro :)
>
> Now I am having a problem with trying to restart shorewall under cron to
> change the firewall rules. Here in AU, most ISP's have limits on how much
> data we can download each month, but one of my ISP's has peak and offpeak
> periods.
> In the offpeak periods I have unlimited traffic. Since I share my
> connections with my house mates, and one of them is a heavy kazza user, I
> am trying to set up alternate shorewall configs that run under cron so that
> during peak periods kazza is blocked, and offpeak it is allowed.
> I have been trying now for a few weeks but I can't make shorewall change
> rules correctly.
>
> In /etc/crontab I have tried
> 0  2    * * 1   root    /sbin/shorewall/offpeak restart
> 0  8    * * 1   root    /sbin/shorewall/peak restart
> 0  2    * * 2   root    /sbin/shorewall/offpeak restart
> 0  8    * * 2   root    /sbin/shorewall/peak restart
> etc...

With the standard Shorewall installation, /sbin/shorewall is a shell script -- 
you have made it into a directory and have done some odd thing with the files 
in that directory. How do you expect the provider of a package to help you 
when you modify that package (in this case Shorewall) like that???


-Tom
-- 
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to