Hi,

On Wed, Dec 13, 2017 at 01:19:14PM -0500, Sachin Garg wrote:
> Is there a way to force the DNS lookup and subsequent OpenVPN connection
> only over IPv4?

DNS lookups, no (because that happens outside OpenVPN).  

OpenVPN itself, yes.

> I am using OpenVPN to provide IPv6 to hosts not otherwise accessible
> over IPv6. Using the server's hostname works fine on hosts without
> native IPv6.
> 
> However, in the config file, for hosts on a dual-stacked network instead of:
> 
> remote hostname.domainname 1194
> 
> I have to use:
> 
> remote 192.x.x.y 1194
> 
> that is the IPv4 address. Was wondering if there is an option (like that
> in SSH) to explicitly provide for an address family:

Just use "protocol udp4" to force IPv4-only (or "tcp4").

gert

-- 
now what should I write here...

Gert Doering - Munich, Germany                             [email protected]

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to