Created on
11-04-2016
06:19 PM
Edited on
05-12-2025
10:40 PM
By
Anthony_E
Description
This article describes how, if the WAN link uses a dynamic IP address and a FortiGuard DDNS FQDN has been configured, it may be used to reach internal services using a VIP.
Scope
FortiGate.
Solution
Make sure an FQDN has been configured for FortiGuard DDNS service.
Configure a VIP leaving the external IP address all zeros:
config firewall vip
edit "PublicServer"
set extip 0.0.0.0
set extintf "wan1"
set portforward enable
set mappedip 192.168.1.250
set extport 8010
set mappedport 8010
next
end
Configure a firewall policy to allow the traffic toward the internal Server:
It should be possible to reach the server on the FortiGuard DDNS FQDN and port defined on the VIP: https://myfortigate.fortiddns.com:8010
Special notes:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.