[7.460][BUG][NOTABUG] Policy based routing

I have to internet connections here, now using Gateway routes i configure the following.

gw1 10.254.20.1 
gw2 10.254.20.2 (default)

i would setup certain dns hosts to connect via gw1 instead of default.

ill setup a rule as follows:

src int: any
src net: any   (catch the proxy http traffic as well since its transparent)
service: any
dst net: www.somewebsite.com (i wish to use dns group because of multihomed sites but cannot [:@] )
gw: gw2

ok.. this works 100%

if i go further add a few more rules to the bottom of that and end with
src int: internal
src net: myworkstation
service: any
dst net: any   (i want my torrent downloads via gw1 because gw2's network blocks torrent traffic)
gw: gw1


then this bottom rule will override all rules above and just move all myworkstation traffic to gw1.
Im not sure if it is supposed to work this way, but i believed that the rules can be moved up and down and routes should be selected in the priority order?

I just reset my configuration, ill try it again. Please comment
Parents Reply Children