What's new

How to disable-enable Bandwidth Limiter for one cient from a User Script

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Juglar

Occasional Visitor
Hi:

I want to program (through cron tasks, launched from a User Script) a periodic (for example, every 60 seconds) disabling of the Bandwidth limit of one specific client (by MAC or IP) of the several clients that I have configured in the WebGui's Bandwidth Limiter and, after some time (in principle, something between 3 to 10 seconds), reenabling it.

Would it be possible to do it? how (with which commands and parameters, or by modifying any file, or inserting a rule in the iptables, etc) ? (if possible, restarting as little as possible of the firewall, the nat, the bandwidth system, etc.).

I suppose I could try to find out in the source code files, but it would be quite long for me, if I could achieve it at all.

Thanks and regards,
Juglar.
 
Last edited:
If not possible or difficult, it would be enough for me to be able to change the upload bandwidth limit from a user script, if it could be easier.

Thanks.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top