I have successfully installed (for the second time) a pi-hole on the raspberry 4B. But I also have failed to make pi-vpn works.
I would like some help or suggestions to setting up it correctly.
I also have a domain name through namecheap, and maybe it would help setting it properly, and then setting it for a jellyfin server later. Any help is appreciated. Thanks all!
whatever it is you’re trying to do, be careful that your pi-hole DNS on port 53 is not exposed to the internet. otherwise your server will be abused for DDOS amplification attacks.
What actual problem are you attempting to solve?
If you want pihole blocking away from your LAN, set the DNS for the device to adguard and be done with it.
If you’re trying to do something else, give us some context.
In general, this is of course 100% based on speculation, but I assume that you can connect to a VPN but you cannot access any resource inside the local network. Just because this is the most basic mistake that beginners usually make. And it’s related to the fact that your pi is not your default gateway. To solve this, you need to enable SNAT on the local Pi interface. There are many guides on the Internet on how to do this.
P.S. Unfortunately, I have a poor telepathy skill, so it would be good to get a little more background. At least an accurate description of the problem. =)
Hard to say, unless you give us more on why and where you failed!
You don’t absolutely need a domain for that stuff to work, what problem are you trying to solve?