Hi there. I actually configured my squid on a CentOS 5.3 and used RouterOS internal WebProxy to point to squid server. I placed nat rules to redirect to port 3128 on localhost and webproxy of routeros to redirect to my parent proxy. Its working fine but now my clients are with unlimited bandwidth. I had to set on the wireless routerboard the limits to work. Even the usermanager users arent limiting the bandwidth right. Clients with 512k bandwidth are using 2MB or more, I had to set on the Wireless interface the limits to work. Anyone knows why this is happenning? I will place my Nat rules so it will be more clear for you guys, and Im using version 3.26 RouterOS license lvl 6.
0 X ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough
1 ;;; Repetidora Centro(Sede)
chain=dstnat action=netmap to-addresses=172.16.1.253
dst-address=200.248.236.84
2 chain=srcnat action=netmap to-addresses=200.248.236.84
src-address=172.16.1.253
3 ;;; Repetidora S o Jo o
chain=dstnat action=netmap to-addresses=172.16.1.252
dst-address=200.248.236.87
4 chain=srcnat action=netmap to-addresses=200.248.236.87
src-address=172.16.1.252
5 X ;;; Carlinhos teste
chain=dstnat action=netmap to-addresses=192.168.0.11
dst-address=200.248.236.90
6 X chain=srcnat action=netmap to-addresses=200.248.236.90
src-address=192.168.0.11
7 ;;; Proxy
chain=dstnat action=redirect to-ports=3128 protocol=tcp
src-address-list=Proxy Redirection dst-address-list=!proxy-exception
dst-port=80
8 ;;; NAT Link de 4MB
chain=srcnat action=src-nat to-addresses=192.168.1.1
routing-mark=CentOS_R
9 X chain=srcnat action=masquerade src-address=192.168.1.0/24
10 ;;; NAT Link de 4MB
chain=srcnat action=src-nat to-addresses=200.248.236.86
src-address=!127.0.0.1
The WebProxy src-address is not setted, only the port, and the parent proxy is setted right.