Skip to main content
pprior
New Member
April 7, 2022
Solved

DNS issue on LDAP config

  • April 7, 2022
  • 2 replies
  • 2158 views

Hi!

I'm trying to setup an ssl vpn using LDAP on a Fortigate 40F, but using the server name fails.

If I try to ping server ip from CLI it works, the server name fails.

In Network / DNS the correct DNS is entered and can also ping external addresses like google.com.

What other tests or configs do I need to do?

Iv've been following the tutorials on https://docs.fortinet.com/document/fortigate/7.0.5/administration-guide/115783/ssl-vpn-with-ldap-user-authentication

Thanks in advanced!

Best answer by pprior

Hi Sachin!

Sorry for the trouble, it was a simple issue. The DNS protocol UDP/53 was not active...

2 replies

Sachin_Alex_Cherian_
Staff
Staff
April 8, 2022

Hi,

 

I believe you are trying to ping the hostname of the server whose DNS record would be known internally.

You could try setting the internal DNS specifically for the ssl vpn connection.

conf vpn ssl setting

set dns-server1 0.0.0.0
set dns-server2 0.0.0.0

end

The above takes effect for the SSL VPN user getting connected.

 

If you are trying to ping from the FGT itself, make sure to check the system DNS settings.

Check which IPs are there in the DNS settings. I would assume you would be having the internal system DNS already added, if not you need to add the same and check.

 

pprior
ppriorAuthorAnswer
New Member
April 11, 2022

Hi Sachin!

Sorry for the trouble, it was a simple issue. The DNS protocol UDP/53 was not active...