Results 1 to 2 of 2

Thread: Limit bandwidth of users

  1. #1
    Join Date
    Dec 2009
    Posts
    1

    Default Limit bandwidth of users

    exist a way for limit the bandwidth of users on vps ...

    Im know can do with iptables mark o quota but when run iptables commands
    Code:
    zodman:/home/zodman# iptables -t mangle -A FORWARD -p tcp -m owner --uid-owner tun0  -j  MARK --set-mark 100
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-128.2.1.el5.028stab064.7/modules.dep: No such file or directory
    iptables: No chain/target/match by that name
    I think its restrictive by openvz but exist a way for do that? for limit users bandwidth or check the bandwidth usage by user?

  2. #2
    Join Date
    Jul 2007
    Location
    127.0.0.1
    Posts
    392

    Default

    Unfortunately, there are several useful iptables modules missing in VPSlinks OpenVZ templates, but perhaps this might work?

    Bandwidth Limiting HOWTO

    And before the #CBQ section is an example of rate limiting with squid

    Regards,

    Guy P.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •