Re: Adding new rules

Mark Neidorff <[email protected]>
Newsgroups gmane.network.guarddog
Message-ID <[email protected]>
On Friday 24 August 2007 03:21 pm, Hugo Xdy wrote:
> Guess guarddog is running. What if i manually add a rule to iptables?
> When I run guarddog and apply something it will erase the rule I done?
> If I reboot, I will have to add  this rule manually again? Or guarddog
> knows it and loaded when i ran it? In case guarddog saved the rule and
> I don't want the rule anymore, how should I proceed?
>
> Also, I allowed bitorrent internet/local local/internet and it doesn't
> work, anyone having the same problem?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Guarddog-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/guarddog-user

Guarddog edits the file /etc/rc.firewall.  It does not run all the time.  
Guarddog uses its own syntax within the rc.firewall file so if you stay 
within that syntax you will be fine.

You can do things like start guarddog, create a firewall, save it and close 
guarddog.  cp it to a different file name.  Then open guarddog and modify the 
firewall rule as you wish.  Save the new rule.  Now you can use cron scripts 
to switch between these two rules just by renaming the rules and then 
running /etc/rc.firewall (just be sure of permissions and ownership)

Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.