Question
Controlling outgoing WAN for specific IPs or IP ranges
Hi everybody, on our new FortiGate 100D, we have two WAN Links (wan1/wan2) out of which only one has a static IP (wan2). They are load-balanced via ECMP and WLB weights for regular Internet access. However, we would like to make sure that specific IPs from the internal network (192.168.1.0/24) only go out on the wan2 connection, because of how some external applications they use do IP-based filtering. I tried to do it via policies, by doing two policies with for IP_RANGE -> wan1 (DENY) and IP_RANGE -> wan2 (ALLOW), and this works, but it causes ping timeouts and slow name resolving for the IPs that hit this policy pair, probably because the connections are first tried on wan1 (higher weight) and then get denied, move to wan2, etc. It doesn' t seem to matter in which order the policies are arranged, the timeouts and hiccups on browsing still occur. Is there another, smarter way to go about setting this up? I guess a policy route would work, but I can' t seem to find out how to make sure that the route only is to be applied on destination addresses outside of our internal network (we have a couple of other ports/subnets between which we need to route internally). Thanks for any tips - Fortigate newbie here!