resolve hostname and ip address in vpn site to site
Hi, I have a site-to-site vpn set up between 2 fortigates:
Site A Fortigate 300E and site B Fortigate 60F, and I was able to fill the vpn and the communication between both sites.
When I connect to a computer at site A from site B I can do it without problems through the IP, but for security reasons I want them to be able to communicate through the host name.
In site A all my computers belong to a domain (mycompany.com.mx) but in my site B the computers are not within a domain.
Is it possible to get site B computers to access site A computers by hostname and not just by IP?
I hope you can help me
In my site B, I have an interface such as LAN 192.168.xx.xx, and within this same interface I have created a VLAN (172.16.xx.xx) to all the equipment in site B I assigned a fixed IP of this VLAN, then Is it necessary to change this VLAN so that it assigns DHCP to the computers and put the DNS of missite A?
If I assign DNS from site A to the computers from site B, internet access is lost, right now I have them configured with google DNS 220.127.116.11 and 18.104.22.168 and in this way they give me internet access and I also have access to the computers of my site A but through IP and what I want is to be able to access through the name of the computers.
I have the corresponding policies and I have phase 2 configured to access my DNS from site A, in the static routes I have doubts.
In my site B I have 3 static routes, one I have as a destination my DNS and another subnet that I want to access, and one towards the internet, but in site A I do not have these policies