Hostname Routing

Post Reply
exlipse
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 13, 2019 6:03 pm

Hostname Routing

Post by exlipse » Thu Jun 13, 2019 6:14 pm

Hi all, I've been searching around but haven't seen this exact issue addressed yet. Does the Android OpenVPN app (official) not support hostname routing? As in, client config: route something.myserver.com 255.255.255.255. I get an error in the log stating that something.myserver.com is not a valid IP address. This client config does work in the Windows OpenVPN app as expected. The route does work in Android if I reconfigure it with the real IP and not the hostname. I'd much rather use hostnames for some routes that don't have static public IPs. Any thoughts?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5786
Joined: Fri Jun 03, 2016 1:17 pm

Re: Hostname Routing

Post by TinCanTech » Fri Jun 14, 2019 12:19 am

Like this ?

exlipse
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 13, 2019 6:03 pm

Re: Hostname Routing

Post by exlipse » Fri Jun 14, 2019 1:51 pm

I'll have to check to see what that option does, thanks for the lead.

exlipse
OpenVpn Newbie
Posts: 3
Joined: Thu Jun 13, 2019 6:03 pm

Re: Hostname Routing

Post by exlipse » Fri Jun 14, 2019 4:22 pm

That option looks like it would help, but it didn't change the behavior in the app. In fact, I can see the option in the log under 'Unused Options' so I'm assuming it's not supported.

Post Reply