Youtube traffic does not go through the VPN to the server
Posted: Sun Nov 28, 2021 4:39 pm
by theloop
Hello, I am faced with a phenomenon that I can not explain. I have a PiHole on the local network and an external VPS that acts as an OpenVPN server. The PiHole (ubuntu) is connected to the VPS (ubuntu) as a client and the server successfully uses the PiHole as DHCP. Every other client is detected by the PiHole, pages that should be blocked, are blocked and tracked, everything as it should be. The IP addresses are also correct.
But now the problem: the traffic from computer clients (win10) is only partially routed through the VPN, or so it seems to me. The clients take the IP of the VPS, but when I open video platforms, like Youtube with a client, I see that the VPS does not handle this traffic. But when I connect an Android device as a client via OpenVPN to the VPS, everything works, both the PiHole and the Youtube traffic through the VPS.
Do you have a guess what this could be? I am grateful for any hint
Greetings
theloop
Re: Youtube traffic does not go through the VPN to the server
Re: Youtube traffic does not go through the VPN to the server
Posted: Sun Nov 28, 2021 10:08 pm
by theloop
you mean the duplication? i have now removed what occurs twice. it is still the case that, for example, amazon prime goes through the vpn, but youtube shows no reaction.
Re: Youtube traffic does not go through the VPN to the server
Posted: Sun Nov 28, 2021 10:37 pm
by TinCanTech
What did you do now ?
Re: Youtube traffic does not go through the VPN to the server
Posted: Wed Apr 09, 2025 10:02 pm
by mcdutch
In my case, it turned out Windows was defaulting to IPv6 for certain traffic, and PiHole wasn’t configured to handle that. Disabling IPv6 on the client side helped a lot, and I also forced DNS settings more aggressively in the VPN config. Still had to tweak routing tables manually a bit after connecting.
Re: Youtube traffic does not go through the VPN to the server
Posted: Wed Apr 09, 2025 10:06 pm
by mcdutch
Aside from the network setup, I also ran into platform-specific issues when using video tools that required solid VPN routing. While looking for better editing tools on my PC, I found options beyond mobile apps like InShot. There's actually a way to get similar results with inshot download for pc alternatives, which gave me more control and features on desktop.