Policy Based Routing with DSCP

Hello,

Just purchased an 951G RouterBoard. Main objective is to configure Policy Based Routing for redirection based on a ToS tag ie: TCP port 80 with a ToS with 40 next hop equals 192.168.30.34.

The usage would be applied to any wired or wireless users hitting a specific VLAN would get redirected to a web server of 192.168.30.34 for a web portal page.

I haven’t found a good document that provides and example on how to accomplish this yet.

Any help would be appreciated.

B.

You’ll have to mark the packet, then give it a routing mark. (2 Mangle rules)
In the routing table(/ip routes), setup a (default) gateway for that routing mark.

Regards