Answer the question
In order to leave comments, you need to log in
How to deny access to sites on a VPN server through nginx?
I have a special stub on my VPN server (WireGuard) that runs on Apache2. Apache opens by internal private ip address on port 88, since port 80 is occupied by Pi-Hole. How can I make it so that for example: when you go to the site "google.com" not the site itself opens, but a stub? How can this be done through nginx or what other way can this be done?
Answer the question
In order to leave comments, you need to log in
How can I make it so that for example: when you go to the site "google.com" not the site itself opens, but a stub?But no way. You need a valid certificate that no one will give you. When the provider blocks the site, he also cannot show you the stub, but he wants to.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question