send public ip pppoe http traffic to other router $25 ransom

originally posted here http://forum.mikrotik.com/t/redirect-http-traffic-to-other-ether-interface/19157/1

I have RB 333 with wireless AP on WLAN1 and WLAN2 and Ether1. WLAN3 is public IP wireless bridge to a location T1 line. Clients connect with PPPoE and are assigned a public IP from the T1 IP range. Ether3 goes to a cable modem.

I am trying to dump http traffic to the cable modem. I have tried a simple policy route, http://wiki.mikrotik.com/wiki/Policy_Routing_in_RouterOS_2.9.x but I think it does not work properly because the customers are not natted.

Any ideas?

–Edit I will pay $25 ransom via paypal for the best/first config.

If this works I will start posting other ransoms.

This quote is from the previous tread.

I noticed that you are using the inbuilt proxy server of ROS. Then you need to place a routing mark on output of the router on port 80. The following codes should resolve the issue.

/ip firewall mangle add chain=prerouting protocol=tcp dst-port=80 action=mark-routing new-routing-mark=HTTP passthrough=yes comment="" disabled=no

/ip firewall mangle add chain=output protocol=tcp dst-port=80 action=mark-routing new-routing-mark=HTTP passthrough=yes comment="" disabled=no

/ip route add gateway=x.x.x.x routing-mark=HTTP comment="HTTP Traffic" disabled=no
/ip route rule add src-address=0.0.0.0/0 table=HTTP action=lookup routing-mark=HTTP

Replace your routing-mark mangle rules and policy routes with the codes above. Also remember to replace x.x.x.x with the appropriate gateway IP address.
I expect my $25 ransom :smiley:

I was hoping to not use the build in proxy. I had just tried that to try to get the router to mask the public ip’s. It did not work. I will try out your config. If you have any other ideas let me know. Thanks.

My config should work with the inbuilt proxy enabled.