Submitted by alessice on Tue, 09/01/2009 - 11:33
If you enable the Bandwidth Monitoring in Webmin and are you ising shorewall for firewall its impossibile to disable via Webmin the Bandwidth Monitoring becaus the botton "Turn Off Monitoring" does not appear.
For more details see:
http://www.virtualmin.com/node/11273
Thanks
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 09/01/2009 - 11:35 Comment #1
Is it just showing the "Setup Now" button instead?
If so, what does your /etc/shorewall/start file contain?
Submitted by tdueck on Wed, 11/25/2009 - 11:06 Comment #2
We have the same problem. The bandwidth monitoring page shows the "setup now" button (see screenshot).
cat /etc/shorewall/start
run_iptables -I INPUT -i eth1 -j LOG --log-prefix BANDWIDTH_IN: --log-level debug
run_iptables -I FORWARD -i eth1 -j LOG --log-prefix BANDWIDTH_IN: --log-level debug
run_iptables -I FORWARD -o eth1 -j LOG --log-prefix BANDWIDTH_OUT: --log-level debug
run_iptables -I OUTPUT -o eth1 -j LOG --log-prefix BANDWIDTH_OUT: --log-level debug
Thanks in advance for your help.
Submitted by JamieCameron on Wed, 11/25/2009 - 17:27 Comment #3
tdueck - In the /etc/webmin/bandwidth/config file, is the iface= line set to iface=eth1 ? If not, it should be ..
Submitted by tdueck on Tue, 12/08/2009 - 16:36 Comment #4
It looks like its set correctly.
cat /etc/webmin/bandwidth/config
bandwidth_log=/var/log/bandwidth
iface=eth1
firewall_system=shorewall
Submitted by JamieCameron on Tue, 12/08/2009 - 17:20 Comment #5
Ok, I see the cause of this now .. it's a Webmin bug.
The fix is to add a single blank link to the top of /etc/shorewall/start
A proper fix will be in Webmin 1.510 and later.
Submitted by tdueck on Wed, 12/09/2009 - 08:48 Comment #6
Thanks for your prompt responses. Adding a blank line at the top of /etc/shorewall/start fixed the problem.
Submitted by Issues on Wed, 12/23/2009 - 19:21 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.