hi guys i need your help
After several weeks of testes i can’t get it work
I want to redirect http port 80 traffic to squid proxy.
i followed the tutorial from http://aacable.wordpress.com/2011/07/21/mikrotik-howto-redirect-http-traffic-to-squid-with-original-source-client-ip/
and it does not work for me.
here is my network scheme
mikrotik firewall settings
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here”
/ip firewall mangle
add action=mark-routing chain=prerouting dst-port=80 new-routing-mark=http protocol=tcp
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here” to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment=“masquerade hotspot network” src-address=192.168.2.0/24 to-addresses=0.0.0.0
Route settings
/ip route
add distance=1 gateway=192.168.2.4 routing-mark=http
add distance=1 gateway=192.168.1.254
with these rules all trafic is working except port 80.
I think that the squid server is working
with this scheme squid is working and makes the logs.
Can you guys help me