I am using OpenVPN Connect (version 1.1.16 - build 74)in my Android phone running KitKat (4.4.4).
I understand that this version of OpenVPN Connect support Exclude Route to emulate the net_gateway route.
The problem is I have the following line in my OpenVPN Connect:
Code: Select all
route my.domain.name 255.255.255.255 net_gateway
Code: Select all
0 [route] [my.domain.name] [255.255.255.255] [net_gateway]
.
.
.
09:30:13.792 - Error parsing IPv4 route: [route] [my.domain.name] [255.255.255.255] [net_gateway] : addr_pair_mask_parse_error: AddrMaskPair parse error 'route': my.domain.name/255.255.255.255 : ip_exception: error parsing route IP address 'my.donain.name' : Invalid argument
Is it possible to make the "Exclude Route" feature to mimic the "net_gateway route" (i.e., resolve the domain name, but only grab the first IP address returned)?
Cause the problem in my case is that the domain name has dynamic IP address, so I would need to change the config file and load it to OpenVPN everytime the IP address change.
BTW, thanks for the wonderful OpenVPN and OpenVPN Connect software..
Thanks and regards,
~daniel