|
From: Serge W. <se...@wa...> - 2008-03-06 14:18:03
|
Env. : OpenVPN server 2.0.5 / Debian Hi All, I need to limit the bandwidth of some users. I add a shaper option in the instance config of these clients (I use a connection script). Unfortunately, the server doesn't like it. Here's what the log file says: Config : (dumped by the connection script) ifconfig-push 10.8.2.11 255.255.0.0 ping 10 ping-exit 40 push "ping 10" push "ping-exit 40" shaper 5000 push "shaper 5000" Config file openvpn_369_3965.tmp created. End of connect.php... (2008-03-06T15:01:10+01:00) Thu Mar 6 15:01:10 2008 OPTIONS IMPORT: reading client specific options from: openvpn_369_3965.tmp Thu Mar 6 15:01:10 2008 Options error: option 'shaper' cannot be used in this context See this last line. Why not? I tried a "push shaper", which seems to work (at least it is accepted by the client (Windows)). But I'd rather have the other direction limited (server to client). Does anybody know how to work around this (short of implementing the Linux equivalent. How is it called again? Tc something?). Would OpenVPN 2.1 help? TIA, Serge. |