My country has Reddit blocked. I have to connect to a VPN service each time I want to get on Reddit. But doing this makes other websites very slow. Is there a way I can set up a system that
stays on all the time (so that I don’t have to connect manually every time. I just want to set it up once and forget about it) and
selectively makes Reddit traffic go through a VPN and leave other stuff alone?
What networking kit do you have? ISP supplied gateway/router or some of your own kit? You can do this with pfsense or even ubiquiti equipment fairly easily using routing tables but on ISP kit it’s a bit trickier to achieve, unless you have a pc on permanently? If that’s the case then you could run a VM but would increase complexity and points of failure for you.
You can achieve this by changing the DNS address of your router (entire network) or in each device you use. You can use any public DNS (google, openDNS, Adguard,…)
It doesn’t mess with the ability to use a VPN When you want.
I’m not very well versed in networking terminology so I’ll try to describe my setup in simple words. Pardon the simplicity. Optical fibre (black hard thick cable) comes into my home from the ISP. That goes into an optical fibre terminal joint box (a black box that the black cable goes into. The ISP guys call this TJ box). Out of this box comes fibre optic patch cord (a yellow and very thin and flexible cable). This goes into an ONU device. Out of this device comes Ethernet cable and goes into a modem-router-wireless access point-combo. From here 1 Ethernet cables run to desktop and wireless devices connect over wifi.
This is the setup. Now the ISP owns the TJ box and the ONU device. I own the Modem-Router-WAP combo.
Please give suggestions. I hope I managed to describe the setup okay.
Where would I get an openvpn profile that is outside of my country? Openvpn server can be set up on my router, but it would still be inside my country. So it would not bypass countrywide restrictions.
You’ll need to add routes for the services you want to go via the VPN but this should work. And don’t forget to change the “router” entry on your DHCP on your existing tp-link once done.
So the idea is that the pi would run a vpn client all the time which would be connected to a vpn server somewhere on the internet. The pi would be configured as the gateway. So when I send a request, the information would pass from the device through the pi to the vpn server and back from the vpn server through the pi to the device. Is this right?
But won’t this make all the internet traffic pass through the vpn? Or can the pi be configured to only route reddit traffic through the vpn and let other stuff bypass the vpn?