Re: [webmin-devel] Bandwidth rules required.

"Jamie Cameron" <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Ok .. in that case, you need to add firewall rules like :

iptables -A INPUT -i ppp0 -j LOG --log-prefix "BANDWIDTH_IN:" --log-level debug
iptables -A FORWARD -o ppp0 -j LOG --log-prefix "BANDWIDTH_OUT:" --log-level debug
iptables -A FORWARD -i ppp0 -j LOG --log-prefix "BANDWIDTH_IN:" --log-level debug
iptables -A OUTPUT -o ppp0 -j LOG --log-prefix "BANDWIDTH_OUT:" --log-level debug

at the tops of the appropriate chains. In Webmin, in the Linux Firewall module,
click on the Module Config link, and change the 'Directly edit firewall rules instead
of save file?' option to 'Yes' , so that it looks at the active rules instead
of any save file.

With this done, the bandwidth module should then prompt you to set up the syslog.conf
entry that it needs ..

 - Jamie

On 14/Jul/2005 13:52 [email protected] wrote ..
> Hi Jamie! (BTW, Thanks for your great software!)
> 
> It's an iptables firewall configuration, except it's not a configuration
> for usage later with iptables.save and all those script. It's a firewall
> ruleset which is executed everytime from startup and read configuration
> from different files (I'm right now building a webmin module to touch
> config files of this firewall.).
> 
> I didn't express well, what I want to know is what is the best rule
> configuration for the bandwidth monitor module.
> 
> My intention is to send to the developer of this firewall scripts a patch
> to make the scripts compatible with the bandwidth monitor module and also
> make GPL the module to config his firewall scripts.
> 
> Regards,
> 
> Guzmán Brasó
> 
> > On 14/Jul/2005 10:01 [email protected] wrote ..
> >> Hi All!
> >>
> >> I want to add support for another type of firewall to the bandiwdth
> >> monitor.
> >>
> >> What are the exactly rules behavior bandwidth monitor expect from a
> >> firewall?
> >> Any advices?
> >
> > That really depends on what type of firewall you want to support.
> > Is it a completely different kernel-level firewall like iptables, ipfilter
> > or ipfw,
> > or is it a higher-level firewall that generates rules for iptables/etc
> ,
> > like
> > FWbuilder or Shorewall?
> >
> >  - Jamie
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> > happening
> > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> > core and dual graphics technology at this free one hour event hosted
> by
> > HP,
> > AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> > -
> > Forwarded by the Webmin development list at [email protected]
> > To remove yourself from this list, go to
> > http://lists.sourceforge.net/lists/listinfo/webadmin-devel
> >
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by
> HP,
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> -
> Forwarded by the Webmin development list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
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.