Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Fgarnica
New Contributor II

Outbound SD-WAN rule with DNAT

Hello!

 

Trying to sort this out a common(?) scenario with a DNAT in an SD-WAN configuration. 

DNAT is configured in WAN1, inbound rule has SD-WAN zone as incoming interface, inbound traffic to the DNAT works (webpage service loads normally). 

 

SD-WAN rules for catch-all traffic (Internet bound) is set to manual, with WAN2 as preferred interface, followed by WAN1 as backup. 

 

When traffic is originated from the target server in the DNAT, it gets NAT'd to the proper interface (WAN1), however the traffic is being steered through WAN2 due to the SD-WAN rule

Only way that's working if an SD-WAN rule is above the catch-all with WAN1 as outgoing interface for this server only. 

 

Is this the expected behavior? Any other options to get this working without the extra SD-WAN rule? PBR (WAN1 in WAN1 out, WAN2 in WAN2 out)? Auxiliary sessions and Asym traffic have been checked. 

 

 

Running 7.2.11 on a 100F in this scenario. 

 

TIA!

FG
FG
1 Solution
ElwinBERRAR
New Contributor II

Yes, that behavior is normal with manual SD-WAN rules. Path selection always overrides routing or NAT decisions, so even if DNAT uses WAN1, SD-WAN may still send replies through WAN2.

The result is asymmetric traffic because packets enter via WAN1 but leave via WAN2. To fix it, add a higher-priority SD-WAN rule or a PBR forcing that server’s traffic to go out through WAN1.

Elwin

View solution in original post

Elwin
5 REPLIES 5
ElwinBERRAR
New Contributor II

Yes, that behavior is normal with manual SD-WAN rules. Path selection always overrides routing or NAT decisions, so even if DNAT uses WAN1, SD-WAN may still send replies through WAN2.

The result is asymmetric traffic because packets enter via WAN1 but leave via WAN2. To fix it, add a higher-priority SD-WAN rule or a PBR forcing that server’s traffic to go out through WAN1.

Elwin
Elwin
AEK
SuperUser
SuperUser

Hi Garnica

You said when the traffic is generated from the server it is sent through WAN2.

Do you actually mean the traffic that is initiated or the replies?

AEK
AEK
Fgarnica
New Contributor II

Traffic that's generated. Not the replies when hitting the DNAT. 

 

Thanks!

FG
FG
AEK

Then all is working as intended. 

Advice: use sdwan rule instead of pbr.

AEK
AEK
Fgarnica
New Contributor II

Thank you all for the information. Will adjust the SD-WAN for this. 

FG
FG
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors