
ClearOS: multiwan destination based rule
ClearOS multiwan provides simple GUI based method to add source based rules (if you want a LAN IP to always access through a particular WAN) but there is no facility to do a destination based rule (a particular site/IP to be always accessed via a particular WAB). This can be accomplished with editing related files via command line
following post in Clear Foundations Forums
example uses routing yahoo and google traffic via a specific WAN
1. first get the yahoo/google domains address (something like 209.191.64.0 – 209.191.127.255 for yahoo)
2. add to rc.local (etc/rc.d/rc.local ot rc.local.firewall) two line (one per rule):
route add -net 209.191.65.0 gw ip-wan1 netmask 255.255.128.0
route add -net 98.136.0.0 gw ip-wan2 netmask 255.255.0.0
3. reboot/ run rc singulair over the counter.local