Code Monkey home page Code Monkey logo

Comments (2)

notthebee avatar notthebee commented on August 27, 2024

I'm currently struggling with that as well  😁 The feature is planned and in the works

from ansible-easy-vpn.

notthebee avatar notthebee commented on August 27, 2024

To everyone who's interested: The experimental support for Adguard, Unbound and DoH has been merged in 97da769

I've tested the playbook and it works both with and without Adguard on my Hetzner instance.

Please test the feature and let me know if you have any issues with it!

P.S. If you already have the VPN running on your server, the steps to add Adguard support will be as follows:

  1. Make sure that adguard.yourdomain.com points to the same IP as the wg, auth and @ subdomains (not necessary with DuckDNS
  2. Execute the following commands:
cd $HOME/ansible-easy-vpn
git pull
echo "enable_adguard_unbound_doh: true" >> custom.yml
echo "dns_nameservers: cloudflare" >> custom.yml" # feel free to use quad9 or google instead
ansible-galaxy install -r requirements.yml
ansible-playbook run.yml

After that, you should be able to access Adguard WebUI at adguard.yourdomainname.com (protected by Authelia). By default, no blocklists are installed, feel free to add the ones you need manually.

On your client machines, you will also need to replace the DNS parameter under [Interface] with the following line:

DNS = 10.8.2.2

from ansible-easy-vpn.

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.