Noobs Guide to Install PiHole+Open VPN on Nat VPS
I have installed PiHole+Open VPN on a regular VPS before, but somehow I have difficulty getting it to work in the NAT VPS, I have difficulty getting the Split Tunnel part working properly.
In the OpenVPN am looking to setup both a Split Tunnel only for DNS queries and also a Full Tunnel . I Searched and couldn't find an easy to follow tutorial specific to NAT VPS. Anybody can point me to one or post one? Thanks a lo!!
Comments
have you try to change the dns port?
@Freek and @nyr may be able to throw some insight on this.
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
It's been a while since I used OpenVPN. How does your server and client config look like? Make sure to redact any private info.
LinuxFreek.com
You are doing it wrong. Now we use ADGuard and Wireguard
I played around with this using one of @AnthonySmith great deals. At the end of the day, I gave up and used a non-NAT server. :-/
I'll play around with getting wireguard and adguard working on a NAT VPS. I have no interest in OpenVPN or PiHole anymore sadly.
You could set standard DNS port 53 on Adguard if it only listen to wireguard interface (ip 10.0.7.xx). I could not get DoT and DoH feature work on NAT VPS.
In the end, you need to add IP address 10.0.7.1 as DNS server in wireguard configuration.
⭕ A simple uptime dashboard using UptimeRobot API https://upy.duo.ovh
⭕ Currently using VPS from BuyVM, GreenCloudVPS, Gullo's, Hetzner, HostHatch, InceptionHosting, LetBox, MaxKVM, MrVM, VirMach.
Pi-hole instructions on this matter are compressive and they even use my script to set up OpenVPN, so you should be good to go. The server being behind NAT is irrelevant, my installer deals with that.
OpenVPN installer | WireGuard installer
Yeah, sadly I think the best option is to just use a non-NAT VPS.
I don't see point of dns based ad blocking anymore just use unblock origin on Firefox and YouTube vanced and bromite(chromium based with built in ad blocker )on android)
Want free vps ? https://microlxc.net
What about everything else on your network? Smart TV, Consoles, etc?
This is the port assignment.
Server is from @Abdullah Webhorizon
I prefer OpenVpn because it plays well with Tasker on my mobile. I can turn on the VPN service when I am on mobile data and unknown Wifi and turn it off when I am at home wifi. There is a plugin in Tasker for Wireguard as well, but it never worked well for me.
Thanks!
Kindly see above post of mine. Thanks.
Let me check your script out. Thanks.
PiHole and Noobs in the same sentence mess me up.
blog | exploring visually |
if i have to purchase a pi just for pi-hole which edition (2 or 3 or 4) and ram do you guys recommend?
is this enough? https://www.pishop.us/product/raspberry-pi-zero/
thanks.
ThemeForest Profile
Guide pls
For me once i add the blocklists same as PiHole , Adguard is taking twice the memory
The Zero has no networking at all. You would have to add USB Ethernet or USB WiFi, and then the cost adds up.
The Zero W has built-in WiFi, but it only supports congested 2.4GHz frequency, and the CPU is outdated ARMv6.
I bought two units in 2017 and it's frustrating. Not recommended!
All other base models have the same $35 price. Thus, 4B 2GB is the only reasonable choice.
Accepting submissions for IPv6 less than /64 Hall of Incompetence.
usb Wifi dongle is surprisingly cheap...it costs Rs.200/- (~ $3) in India so i can buy one and add but if CPU is outdated and can't run pi-hole properly then it is a waste investment.
i guess i will go with a middle way i.e. 4GB one.
ThemeForest Profile
Are you looking for setup a adfree vpn on nat vps?
install AdguardHome, the trick is that I use [ipv6]:3000 to complete the install process
config Adguardhome's Adguardhome.yaml (127.0.0.1 -> your internal IP address), Like that
bind_host: your internal IP address
You can setup a DoH if your provider providers domian forwarding.
Action and Reaction in history
@deepak_leb
https://webhorizon.net
If you install AGH on your public IP, it's open to the world and everyone with the IP can use it.
This post is about NAT, you do not have a public 53 port.
Action and Reaction in history
I'm using free
ahadns.com
's Indian server which hosted in Linode Mumbai. Works well for me.But why would you use a VPN of server located in India itself ? . Records are quite easy for any government agency to take out
If located in India only , Oracle free tier located in India also works very good for Adblocking
Ahadns is not a vpn but an adblock DNS. I don't really care about government agencies lol.
From memory it needs to be at least 1gb so a zero isn't gonna work.
2s are painfully slow - but I think it should work. 3s are OK - have used it for a pihole. 4s are good but getting expensive
I'd suggest getting a 4 though. Mostly because the 4 is substantially faster than 3 to the point where buying a 3 doesn't make much sense.
Remember you need a high quality power supply...won't run on some shit phone charger.
Also reminder that pihole can run virtualized etc...no actual requirement to use a pi
Currently i am running pi-hole on windows pc but i feel that way, i spend more money on power because i have to keep running my pc 24x7... that is the reason i am thinking of getting pi.
ThemeForest Profile