On 12/15/2011 3:16 PM, James Perry wrote:
> I've got a REST API based application sitting behind a pfSense Load Balancer 
> (works great!).  I want to perform some scaleability testing using pfSense's 
> traffic shaping capabilities.  I was able to configure pfSense to limit total 
> throughput for a given interface but what I really want to do is limit 
> throughput for a specific client port.  I don't want to limit total 
> throughput.  For example, I have 10 clients hitting the LB.  I want each 
> client limited to 56kb.  The total throughput however would be 10 x 56Kb 
> (560Kb).
> I have a load-gen application running on another machine that creates 
> multiple threads with each one hitting the LB.  All of these requests will 
> come from the same IP destined for the same IP/Port on the LB.  The only 
> distinguishing thing will be the source port.
> Is this possible with pfSense?

Make a limiter pair masked by source address/destination address and
then use a firewall rule specific to one port to direct things into that
pair of limiters for in/out.

By using a separate pair of limiters for each port you want, this can be
achieved.

Not as easy as if we had a port masking option in the GUI, but it gets
the job done.

Jim
_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to