travislee89 / ocserv-auto

Auto Install Ocserv Server for CentOS/RedHat 7
324 stars 190 forks source link

如何对每个用户限速? #10

Open ouyangmland opened 7 years ago

ouyangmland commented 7 years ago

我看到了配置文件中,写了可以对每个用户限速,但不知如何填写配置文件参数。 ocserv.conf中提到的如下一段,但是及时取消注释后,全局依旧无法限制!是否还需要做其他设置操作!

Unset to enable bandwidth restrictions (in bytes/sec). The# setting here is global, but can also be setper user or per group.

rx-data-per-sec = 40000

tx-data-per-sec = 40000