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
Youtube traffic does not go through the VPN to the server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sun Nov 28, 2021 4:27 pm
Youtube traffic does not go through the VPN to the server
Last edited by theloop on Sun Nov 28, 2021 4:53 pm, edited 1 time in total.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sun Nov 28, 2021 4:27 pm
Re: Youtube traffic does not go through the VPN to the server
Client Config
client
dev tun
proto udp
remote xx.xxx.xxx.xx9 11xx
redirect-gateway def1
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
<ca>
Server Config
local xx.xxx.xxx.xx9
port 11xx
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 passby-dhcp passby-dns"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 10.8.0.2"
#push "dhcp-option DNS 192.168.0.89"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
@TinaCanTech yea, I thin so too, therefore how can i guarantee that every connection is forced togo through the vpn?TinCanTech wrote: ↑Sun Nov 28, 2021 4:51 pmSounds like Windblows is screwing with you ..
viewtopic.php?f=30&t=22603
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sun Nov 28, 2021 4:27 pm
Re: Youtube traffic does not go through the VPN to the server
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.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Youtube traffic does not go through the VPN to the server
What did you do now ?