Description |
When using a dial-up SSL VPN with an iPhone (FortiClient-VPN APP) and an internal IP, it connects to the server normally. But when using FQDN, it cannot connect to the internal server which can be solved by the dns-suffix setting. This article describes how to assign an internal DNS server through the dns-suffix setting for iPhone. |
Scope | FortiGate v7.0, iOS. |
Solution |
Windows/Android platform dialup SSL VPN can connect normally to the internal servers by using FQDN with dns-server setting on SSL VPN to assign an internal DNS server.
iPhone will use a locally assigned (ISP assigned the public address) DNS server to send FQDN queries even the SSL VPN connected by FortiClient.
The public DNS server (ISP assigned) will never resolve the internal FQDN. Internal DNS server setting 10.1.218.5 for the FQDN thr.twtac.lab = 10.1.218.30.
SSL VPN connected:
The internal FQDN thr.twtac.lab failed to access but IP address:
Added the DNS suffix for the internal domain and re-dialup SSL VPN:
config vpn ssl settings
The internal webpage can be accessed by the FQDN:
Troubleshooting: If the access is still not working, verify if the DNS query is coming from the client end by performing a sniffer or Packet Capture:
diagnose sniffer packet any "host <client private IP over SSLVPN> and port 53" 4 200 l
If there is no DNS query from the client, verify that the domain is configured correctly. If the DNS query is not being replied to, verify further if it is allowed by FortiGate by running Debugging the packet flow
If a DNS query is being replied to, SYN is sent to the resolved domain, but it is not being replied to; verify if NAT is required on the policy being used. |
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.