OPEN VPN Mobile DNS

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
bigge32
Posts: 2
Joined: Wed May 31, 2023 12:29 pm

OPEN VPN Mobile DNS

Post by bigge32 » Wed May 31, 2023 12:38 pm

I succesfully installed a Softher VNP server and I can connect it also using an Android mobile using the OPENVPN app.

The main issue is that on mobile side is impossible to change the DNS address. On a Windows side is really simple changing dns settings of VPN connection, but not on Android.

Is it possible to set server side the custom DNS that I want to use (Google's one) ? The server ethernet connection already has the Google DNS set but not come into mobile OpenVpn connection.

Thanks

ENrico

bigge32
Posts: 2
Joined: Wed May 31, 2023 12:29 pm

Re: OPEN VPN Mobile DNS

Post by bigge32 » Wed May 31, 2023 1:33 pm

Solved myself !
Simply add this in the clent config file :

dhcp-option DNS <dns_server_ip_address>


Thanks !

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: OPEN VPN Mobile DNS

Post by shakibamoshiri » Fri Jun 02, 2023 7:10 am

Another solution is simply add DNS servers to Secure NAT settings
OpenVPN client will use them

Post Reply