Make only certain domain name traffic pass through OVPN
Posted: Sun Jun 28, 2015 3:55 pm
Hello,
I've been using OpenVPN for about a year and it's been pretty great, but there's an issue that I've yet to find a solution for.
The thing is, youtube is blocked in my country, and that's about the only that I've been using openvpn for, but youtube has thousands of IP's, and I've had to specify entire IP blocks in my OVPN config script, and because of that some sites that should not be passing through OVPN, are.
So, I was wondering if there's a way to make OVPN compare domain names and then pass only the specified domain name (i.e youtube.com, ytimg.com, etc.) through the VPN and allow all other traffic to bypass the VPN.
Thanks for the great job you've done with OpenVPN.
I've been using OpenVPN for about a year and it's been pretty great, but there's an issue that I've yet to find a solution for.
The thing is, youtube is blocked in my country, and that's about the only that I've been using openvpn for, but youtube has thousands of IP's, and I've had to specify entire IP blocks in my OVPN config script, and because of that some sites that should not be passing through OVPN, are.
So, I was wondering if there's a way to make OVPN compare domain names and then pass only the specified domain name (i.e youtube.com, ytimg.com, etc.) through the VPN and allow all other traffic to bypass the VPN.
Thanks for the great job you've done with OpenVPN.