Giter Site home page Giter Site logo

Comments (3)

dsommers avatar dsommers commented on May 27, 2024 1

You can import your configuration profile using openvpn3 config-import --persistent --config $CONFIG_FILE --name myvpn and then disable the DNS configuration from the server with openvpn3 config-manage --config myvpn --dns-setup-disabled true. To start the VPN profile, use openvpn3 session-start --config myvpn.

In this example the import is done using --persistent. This means the configuration file is saved to disk in a file directory only accessible to the openvpn3-service-configmgr (Configuration Manager) service. That also means the settings done using openvpn3 config-manage is preserved between boots.

If you use openvpn2, you can add --profile-override dns-setup-disabled true. But this might be a bit more tedious approach in the long run for profiles you use a lot. I recommend using the openvpn3 front-end.

Please let me know if this works for you.

from openvpn3-linux.

j4m3s-s avatar j4m3s-s commented on May 27, 2024

This seems to work, thanks !

Do you want me to write some documentation about it ? Or maybe there is and I've missed it. If it's not the case, should I open a new issue ?

from openvpn3-linux.

dsommers avatar dsommers commented on May 27, 2024

Great!

In regards to documentation, we don't have a "what to do if ...." documentation. But the dns-setup-disabled feature is documented in the man pages for both openvpn3 config-manage and openvpn2

If you want, it might be a good idea add an "OpenVPN 3 Tips and Tricks" wiki page (https://community.openvpn.net/openvpn/wiki/ ). That would be a good place to collect such documentation.

Since this is issue is resolved and working with the dns-setup-disabled feature, I'm closing this ticket now.

from openvpn3-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.