How to limit lan users bandwidth from Wan which do not effect squid cache ??
-
I wan to to limit lan users bandwidth like 512kbps , 1mbps whatever plan they want . But dont want to limit squid cache traffic.
pfsense: 2.1.3 (i386)
squid installed : 2.7.9 stableI made rule on LAN:
INTERFACE:LAN
PROTOCOL:TCP/UDP
SOURCE:512KB(ALIAS) [192.168.1.1–-192.168.1.10]
PORT:ANY
DESTINATION:ANY
PORT:ANY
IN/OUT: 128KB_UP/512KB_DOWN**This rule applies limit on lan users but it also limits squid cache traffic .
then after googling i found i have to limit internet traffic on Wan interface. Then i made rule on wan:**
Interface : WAN
PROTOCOL:TCP/UDP
SOURCE:any
PORT:ANY
DESTINATION:512KB(ALIAS) [192.168.1.1–-192.168.1.10]
PORT:ANY
IN/OUT: 512KB_DOWN/128KB_UPNo limit applies on either lan or Wan… Then I made floating rule on wan with direction set as OUT :
Action:Pass
Quick:checked
Interface : WAN SELECTED
protocol: TCP/UDP
Source :any
port:any
destination:512KB(ALIAS) [192.168.1.1–-192.168.1.10]
port:any
Gateway:wan_GW (x.x.x.x)
IN/OUT: 512kb_down/128KB_upThis rule also fails No limit applies on either Wan or Lan…
Please correct me or guide me how to make perfect rules so that I can limit real internet traffic of lan users without affecting squid cache …Thanks !!