Community discussions

MikroTik App
 
zimbofury
newbie
Topic Author
Posts: 48
Joined: Wed Nov 03, 2010 8:10 am

Transparent Traffic Shaper

Mon Jul 25, 2011 10:42 am

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
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Transparent Traffic Shaper

Mon Jul 25, 2011 10:55 am

Enable proxy on MikroTik router, add NAT redirect rule to catch HTTP traffic and forward it to the router itself.
 
zimbofury
newbie
Topic Author
Posts: 48
Joined: Wed Nov 03, 2010 8:10 am

Re: Transparent Traffic Shaper

Fri Jul 29, 2011 9:31 am

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??
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Transparent Traffic Shaper

Fri Jul 29, 2011 9:44 am

Enable bridge settings /interface bridge settings set use-ip-firewall=yes.
 
zimbofury
newbie
Topic Author
Posts: 48
Joined: Wed Nov 03, 2010 8:10 am

Re: Transparent Traffic Shaper

Fri Jul 29, 2011 10:11 am

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