I have an IPsec connection between two public addresses wich work perfectly. My location needs to access the domains forwarded from the remote address. Now it's working only through ip. Please let me know how can I set that.
If all of the hostnames for that domain can be resolved by an IP across the tunnel, setup a DNS Forwarder Domain Override to point queries for the remote site's domain name to the DNS server on the other end. Should be that easy.