Re: limit badwidth not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So 1:10, 1:20, 1:30 are the subclasses and I need 1 subcalss for every ip address? I can set a max number connections on the openvpn server so say there are 20 connections then I need to repeat the following 20 times?


$U32 match ip dst 10.0.8.1 flowid 1:10
all the way to
$U32 match ip dist 10.0.8.20 flowid 1:200 (not the 200 here for 20th subclass)?

Would subclass 1:10, 1:11, 1:12, 1:13 do the same?

It seems like the above will work when you know what the IP addresses are going to be on a VPN network. So, I don't need to know or care what the client's WAN IP address is to control the speed if they are connected via a VPN?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux