Page 1 of 1

Transparent Traffic Shaper

Posted: Mon Jul 25, 2011 10:42 am
by zimbofury
i have a mikrotik acting as a traffic shaper on a network. the main router is a cisco which is managing vpn. is there a way to get the trasparent shaper to also act as a transparent proxy?

cisco - 192.168.2.64
mikrotik transparent shaper - 192.168.2.254
lan - 192.168.2.0/24

Re: Transparent Traffic Shaper

Posted: Mon Jul 25, 2011 10:55 am
by sergejs
Enable proxy on MikroTik router, add NAT redirect rule to catch HTTP traffic and forward it to the router itself.

Re: Transparent Traffic Shaper

Posted: Fri Jul 29, 2011 9:31 am
by zimbofury
i have done the following

[admin@MikroTik] /ip proxy> print
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: bsat
max-cache-size: none
cache-on-disk: no
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: system

[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80

Unfortunately these just kills all browsing. The router is in bridge mode and has no routes or nat rules. can the router do both transparent shaping and routing??

Re: Transparent Traffic Shaper

Posted: Fri Jul 29, 2011 9:44 am
by sergejs
Enable bridge settings /interface bridge settings set use-ip-firewall=yes.

Re: Transparent Traffic Shaper

Posted: Fri Jul 29, 2011 10:11 am
by zimbofury
thanks for the reply

i had this setting enabled before as this is a standard setting in the transparent traffic shaper setting as per http://wiki.mikrotik.com/wiki/TransparentTrafficShaper. the only thing i did not do was the mangle as that is for type of traffic shaping whereas i am using it only for per ip shaping.

any ideas?
thanks in advance