Some hints to set up a ad free VPN on a nat vps.

Here is a super simple guide to set up a ad free vpn that come with a adguard interface on a nat vpn. The reason why I write this is because I see some others suffering with pi-hole on a nat vps.

This guide should be unreadable since I am bad in all Language. I just hope my experience worth 2 cents.

What is AdguardHome?

AdguardHome is a alternative of pi hole. If you dont know what is pi-hole, google it.

What is OpenVPN?

Openvpn is a VPN


My server: 256MB from @mrvm

  1. install AdguardHome, too simple,skip. Hints : I use [ipv6]:3000 to complete the install process
  2. Encryption settings for AdguadHome. Hints : you can get a let's encrypt cert very easy with acme.sh
  3. config Adguardhome's Adguardhome.yaml (127.0.0.1 -> your internal IP address), Like that

    dns:
    bind_host: your internal IP address

  4. set up proxy from mrvm clients panel. (That domain forwarding bottom),this action give you a Adguard Home control panel

  5. install openvpn or any other vpns then point the dns to your internal IP

my suggestion is bash a script

Now, you get a ad-free VPN and a DNS over https.

Is it too short?

Action and Reaction in history

Tagged:

Comments

  • Will try and get you back shortly

    Thanked by (1)elliotc
  • You can replace openvpn with wireguard. Faster and efficient.

    Thanked by (1)elliotc
  • @Iroshan464 said:
    You can replace openvpn with wireguard. Faster and efficient.

    It is openvz :anguished: . I know I can use wireguard-go but OpenVPN is not bad either. :)

    Action and Reaction in history

  • edited April 2020

    I just set this up on 128 mb NAT vps. Totally worth the $2 per annum I've paid for the service. Thanks for the tutorial

  • WSSWSS Retired

    FWIW, Wireguard is actually quite a bit faster on slow CPUs than OpenVZ. Haven't done audits of it, but several places are embracing WireGuard, including writing their own implementation.

    My pronouns are asshole/asshole/asshole. I will give you the same courtesy.

  • flipsflips OG
    edited April 2020

    @WSS said:
    FWIW, Wireguard is actually quite a bit faster on slow CPUs than OpenVZ.

    ... than OpenVPN, I assume? :)

  • WSSWSS Retired

    @flips said:

    @WSS said:
    FWIW, Wireguard is actually quite a bit faster on slow CPUs than OpenVZ.

    ... than OpenVPN, I assume? :)

    Uhm, yeah.

    My pronouns are asshole/asshole/asshole. I will give you the same courtesy.

  • Wireguard howto. It works! I have had it running on several NAT vps for over 12 months now.
    https://d.sb/2019/07/wireguard-on-openvz-lxc

  • @WSS said:
    FWIW, Wireguard is actually quite a bit faster on slow CPUs than OpenVZ. Haven't done audits of it, but several places are embracing WireGuard, including writing their own implementation.

    I actually using wireguard now but not on a nat openvz box. Personal VPN don't eat many server resources so that I host it with my other little things.
    Spend time researching how to install wireguard on openvz is too wasteful.

    Action and Reaction in history

  • @elliotc said:
    I actually using wireguard now but not on a nat openvz box. Personal VPN don't eat many server resources so that I host it with my other little things.
    Spend time researching how to install wireguard on openvz is too wasteful.

    Research done.
    https://d.sb/2019/07/wireguard-on-openvz-lxc

    Next

Sign In or Register to comment.