Community discussions

MikroTik App
 
rajeshrouthu
newbie
Posts: 46
Joined: Sun Jun 22, 2008 10:30 am

Re: Mikrotik + Web Proxy Queueing is Impossible ?

Thu Mar 11, 2010 9:09 pm

i configured proxy but our customers accessing with defined speed like 64k and 128k , how to get lan speed for cache files..

config is...

ip >address>

# ADDRESS NETWORK BROADCAST INTERFACE
0 10.10.1.1/24 10.10.1.0 10.10.1.255 LAN
1 202.153.41.26/29 202.153.41.24 202.153.41.31 WAN
2 10.10.6.1/30 10.10.6.0 10.10.6.3 LAN
3 10.10.2.1/24 10.10.2.0 10.10.2.255 LAN
4 192.168.1.1/24 192.168.1.0 192.168.1.255 LAN
5 X 10.10.9.1/24 10.10.9.0 10.10.9.255 LAN
6 10.10.5.1/24 10.10.5.0 10.10.5.255 LAN2
7 10.10.8.1/24 10.10.8.0 10.10.8.255 LAN2
8 10.10.10.36/24 10.10.10.0 10.10.10.255 LAN2

ip>nat>

1 chain=srcnat action=masquerade src-address=10.10.1.3

2 chain=srcnat action=masquerade src-address=10.10.1.4

3 chain=srcnat action=masquerade src-address=10.10.1.5

4 chain=srcnat action=masquerade src-address=10.10.1.6

5 chain=srcnat action=masquerade src-address=10.10.1.7

6 chain=srcnat action=masquerade src-address=10.10.1.8

7 X chain=srcnat action=masquerade src-address=10.10.1.9

8 chain=dstnat action=redirect to-ports=3128 protocol=tcp in-interface=!WAN dst-port=80 dscp=4

ip>proxy>
enabled: yes
src-address: 0.0.0.0
port: 3128
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: "webmaster"
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 4
cache-drive: secondary-master
IP>proxy>cache>
# DST-PORT DST-HOST PATH METHOD ACTION HITS
0 *.mp3 allow 4098
1 *.avi allow 4
2 *.mpg allow 28
3 *.flv allow 359
4 *.jpg allow 258930
5 *.gif allow 171895
6 *.png allow 89746
7 *.wav allow 0
8 *.wmv allow 70
9 *.exe allow 367
10 *.mp4 allow 20
ip>firewall>mangle

chain=output action=mark-packet new-packet-mark=cache-packets passthrough=no out-interface=!WAN dscp=4

que>simple>
name="queue165" target-addresses=10.10.0.0/16 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=cache-packets direction=both priority=3
queue=default-small/default-small limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

I am using 3.22 ROS,,,

 
avung
just joined
Posts: 1
Joined: Sat Jul 23, 2011 3:30 pm

Re: Mikrotik + Web Proxy Queueing is Impossible ?

Sun Oct 16, 2011 5:28 pm

anyone have configuration powerfull internal web proxy include mangle for routeros 5.5
thanks

Who is online

Users browsing this forum: GoogleOther [Bot], techcomtecnico and 124 guests