FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
yangw
Staff
Staff
Article Id 273156
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 FortiOS 7.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.

 

 
DNS server setting.PNG

 SSL VPN connected:

 

62C9EF34-84DC-4AC0-AB6A-329551C806DA.jpg

 

The internal FQDN thr.twtac.lab failed to access but IP address:

 

754F23DB-BF4E-4D55-A82A-988FF61EE80F.jpg

 

F9907013-2F23-4397-BF8E-830938F7281B.jpg

 

Added the DNS suffix for the internal domain and re-dialup SSL VPN:

 

config vpn ssl settings
    set ssl-min-proto-ver tls1-1
    set servercert "Fortinet_Factory"
    set tunnel-ip-pools "SSLVPN_TUNNEL_ADDR1"
    set tunnel-ipv6-pools "SSLVPN_TUNNEL_IPv6_ADDR1"
    set dns-suffix "twtac.lab"    <----- The DNS suffix for the internal domain.
    set dns-server1 10.1.218.5    <----- The internal DNS server would not be assigned to iPhone.
    set source-interface "port1"
    set source-address "all"
    set source-address6 "all"
    set default-portal "tunnel-access"

 

The internal webpage can be accessed by the FQDN:

 

DA047B8E-BC82-4562-B83D-5E9FE970FE5F.jpg