Is there a way to force the DNS lookup and subsequent OpenVPN connection
only over IPv4?

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:

AddressFamily <inet/inet6/any>

Or alternatively, specify the protocol in the "remote ..." line:

remote hostname.domainname 1194 <inet/inet6/any>

Best,
Sachin

------------------------------------------------------------------------------
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
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to