You are not logged in.

#1 2015-04-14 07:44:16

asaba90
Member
Registered: 2015-03-06
Posts: 7

speed limit on users

I have a server which acts as a vpn server, and I want to limit the maximum speed of clients. How can I do this?
I need a solution which works for both OpenVPN and Strongswan with thousands of clients.
What are my options?

Offline

#2 2015-04-14 12:36:24

heyuxiang
Member
Registered: 2008-10-09
Posts: 14

Re: speed limit on users

Googling "Linux TC" may help, just a hint, nothing practical though.

Offline

#3 2015-04-14 13:50:28

asaba90
Member
Registered: 2015-03-06
Posts: 7

Re: speed limit on users

I have googled a lot and had no success.
It seems that tc is the only option, but I have to mark every ip address with iptables to go to a specific classid. But I was unable to mark them. I have tried both MARK and CONNMARK. If anyone can help me to mark a packet (or a connection) it would really help.
But I am also looking for other options. Because with htb there is a 10000 limit on the number of classids; and I have a /16 subnet for my vpn which supports 65535 users!

Offline

Board footer

Powered by FluxBB