How to disable IPv6 with OpenVPN on Android?

Discussion in 'Android' started by MonarchX, Jan 1, 2020.

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    310
    60
    I have 2 security questions:

    1. How do I disable IPv6 utilization completely through OpenVPN Android Client for both Mobile Data and Wi-Fi? AdGuard has an option for that in Low Level Settings. I tested that AdGuard option and it worked as described by disabling IPv6 for both WiFi and Mobile Data.

    How do I do the same with OpenVPN Android Client? I only see IPv6 Tunnel Preferences option in Android OpenVPN Client. Should I set that option to IPv4-Only Tunnel to disable IPv6 for both Mobile Data and Wi-Fi when using OpenVPN?

    2. How do I set custom DNS in OpenVPN Android Client?
     
  2. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    310
    60
    Thanks! Does the phone need to be rooted for the mentioned commands to function?
     
  3. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,198
    1,188
    60
    No, you can just open/edit it with your favorite file manager like SolidExplorer or another one who has an "integrated" text editor. I'm also sure you can edit it within the OpenVPN app, it will open the file with a text editor.