Skip to main content
kish02
New Member
Apr 9, 2024 5:47 AM UTC
Solved

Setup NAT to Web Server with SD-Wan Interface

Hi guys,

 

What is the right procedure when creating NAT to my web server. should be accessible outside using a public ip of the same subnet as my wan interface. i am using sd-wan interface. thank you in advance.

AEK
AEKAnswer
SuperUser
Apr 18, 2024 8:46 AM UTC

Yes you need a firewall policy, like this:

  • srcintf: e.g.: WAN
  • dstintf: e.g.: DMZ
  • src: ALL (or some public IP, or some GeoIP)
  • dst: VIP_object
  • service: HTTPS or other
  • UTM: any security you need
AEK

8 replies

bpozdena_FTNT
Staff
Staff
Apr 9, 2024 6:36 AM UTC

DNAT on Fortigate is configured using Virtual IPs.  It's exactly the same with or without SDWAN.

 

See the below documentation for more details:
https://docs.fortinet.com/document/fortigate/7.4.3/administration-guide/728694/destination-nat

kish02
kish02Author
New Member
Apr 18, 2024 8:26 AM UTC

Sorry for the late response, got busy with other matters. Once i have configured the virtual ip, do i need to create a firewall policy?

 

VIP setup

Type: Static Nat
External IP: Wan1 public ip(i have other static ip aside from what is set on wan1 interface)

Map to: Local test server

 

I have searched for DNAT procedures online and they created firewall policy as well.

 

AEK
SuperUser
AEKAnswer
SuperUser
Apr 18, 2024 8:46 AM UTC

Yes you need a firewall policy, like this:

  • srcintf: e.g.: WAN
  • dstintf: e.g.: DMZ
  • src: ALL (or some public IP, or some GeoIP)
  • dst: VIP_object
  • service: HTTPS or other
  • UTM: any security you need
AEK
AEK
SuperUser
SuperUser
Apr 9, 2024 8:48 AM UTC

Hi @kish02 

When configuring DNAT, you can either use the WAN interface's IP or use another public IP (if your ISP has provided you with extra public IP addresses).

AEK
Hong_FTNT
Staff & Editor
Staff & Editor
Apr 9, 2024 2:00 PM UTC
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024