Your follow in query is revealing it's own answer. Get DNS resolution
to work and you're good to go. Previous answers provided the answer, you
need DNS resolution to be specifically solved as typically road warriors
have NAT based configurations which will not allow workstations to find
systems via broadcast.
Previous response of:
In the most common scenario where the domain controllers are on the
server-side LAN, this requires the VPN to set up a route to the
server-side LAN, and push a dns server that resolves the domain name.
Both of these are described in OpenVPN howto. See
https://community.openvpn.net/openvpn/wiki/HOWTO#IncludingmultiplemachinesontheserversidewhenusingaroutedVPNdevtun
and
https://community.openvpn.net/openvpn/wiki/HOWTO#PushingDHCPoptionstoclients
is all about setting up DNS for the client.
If you don't want to do that, then a quick kill is simply to put a
<IP><FQDN> reference in the remote systems
/Windows/System32/drivers/etc/hosts file but that is clumsy and fixed.
Colin
On 7/20/20 12:04 AM, Fermin Francisco via Openvpn-users wrote:
Good evening!
Let me explain my scenario:
OpenVPN Server is in Server 2.
Active Directory and domain controller Server is in Server 1.
Example from a openVPN client:
nslookup example.local
Server: xxx.xxx.xxx.xxx
Address: xxx.xxx.xxx.xxx#53
** server can't find example.local: NXDOMAIN
What else I have to do??
José Fermín Francisco Ferreras Registered User #579535 (LinuxCounter.net)
El domingo, 19 de julio de 2020 01:24:06 p. m. AST, Selva Nair
<selva.n...@gmail.com> escribió:
Hi,
If your VPN establishes a route to the domain controller(s) and the
domain name resolves from the client, you can join the domain just as
you would do while directly connected to the LAN. For example, if the
domain name is example.local, "nslookup example.local" should return
the IP addresses of domain controllers, and those IPs should be
reachable from the client.
In the most common scenario where the domain controllers are on the
server-side LAN, this requires the VPN to set up a route to the
server-side LAN, and push a dns server that resolves the domain name.
Both of these are described in OpenVPN howto. See
https://community.openvpn.net/openvpn/wiki/HOWTO#IncludingmultiplemachinesontheserversidewhenusingaroutedVPNdevtun
and
https://community.openvpn.net/openvpn/wiki/HOWTO#PushingDHCPoptionstoclients
Selva
On Sun, Jul 19, 2020 at 1:07 PM Fermin Francisco via Openvpn-users
<openvpn-users@lists.sourceforge.net
<mailto:openvpn-users@lists.sourceforge.net>> wrote:
>
> Good afternoon!
>
> How Can I join a PC with openVPN to the Active Directory, does
exists a manual, Video, something like that??
>
>
>
> José Fermín Francisco Ferreras Registered User #579535
(LinuxCounter.net)
>
>
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@lists.sourceforge.net
<mailto:Openvpn-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users