The easy anwser is to add a route like the below, the key is that it should have a lower metric than your other routes which could apply for the VPN_GW.
Interface Network Gateway Metric
DMZ VPN_GW DMZ_GW 90
I like this answer because then you can also have your VPN fail over in case of ISP failure on the DMZ, that is assuming you turn on route monitoring.
im sorry i dont know if i am just being thick, but apparently i dont understand because that is not working for me.
does there also have to be particular rules set up for this route?and if so how do i set them up.
lets assume i am starting from a fresh install.
xxx.xxx.30.0/24 - lan_net
xxx.xxx.30.1 - lan_ip
xxx.xxx.190.226 - dmz_ip (public ip)
xxx.xxx.190.225 – dmz_gw (modem for vpn traffic to pass over, directly plugged into dmz)
(all public ips at other locations)
location a gw – xxx.xxx.172.34
location b gw – xxx.xxx.196.56
location c gw – xxx.xxx.12.87
so you are saying create a static route (not switch route) that looks like this
interface network gateway metric
dmz location a gw dmz_gw 90
with no rules?
This setup didn’t work for me which is why I am sure I am misunderstanding you.