Domain overrides with openvpn
I have an ipsec tunnel between my office and a remote office.
Both offices use a different domain for now.
I've setup a domain override in my dns fw options for my lan.
ex: seconddomain.com > 192.168.2.4 which is the dns of the remote office.
How do i get users that connect to my openvpn to be able to reach the network on the remote office?
Provide them your internal DNS server.
But ensure that it also can resolve public names.
They already have my internal dns server's address and it doesn't work.
lan ip: 192.168.17.0/24
vpn ip: 192.168.16.0/24
remote office ip: 192.168.2.0/24
I've added the remote office's ip range in the openvpn server settings. I can ping an ip over there, but i cant reach a web app with the fqdn.
So the clients obviously can't resolve it. Consider that they have to use the FQDN, not only the host name, also the domain part.