Using Raspberry Pi as VPN Gateway - Wired

Hello,

Hopefully y’all can help with this one. My goal is this:

  • I live in the Netherlands, and want to watch BBC Iplayer (Geolocked to the UK) on my PS5 or Smart TV.
  • I don’t want to change the ip/dns settings of my PS5/TV every time I want to change change countries.

So what I’d like to do is set up my Pi as a VPN gateway (I have a paid NordVPN subscription), which would plug in to my router via ethernet, then into the PS5 via a usb ethernet adapter, so:

  • Modem → Router > Ethernet → Pi VPN Server UK → USB Ethernet Adapter → PS5/TV.

Hopefully that makes sense. Then I could just connect/disconnect the vpn through command line or a script, to make the ps5 think it was in the UK. Could someone help me with the best way to go about this?

Additional note: I’ve already been able to semi-successfully do this, using the Pi as a wifi access point, but unfortunately the Pi wifi speed is too slow for streaming, even with an adapter, that’s why I’m trying to do this with ethernet.

Thanks in advance for any help.

Essentially, you just set up the pi as the device on your network and setup your devices to use the pi as your default gateway rather than your router.

Raspberry-gateway is the way to go.

You can have own VPN servers(OpenVPN and WireGuard) and VPN client at the same time.

It has Pi-hole and Technitium-DNS and qBittorrent (which you can route via VPN client connection).

Works fine for me for more than a year.

Seems, VPNTV is better and cheaper solution for you :slight_smile:

Thanks, I’ll have a go at this. So if I’m reading this right, it’s just like so:

Modem → Router (With pvn pi attached and set up on the network) → PS5/TV.

And then on the PS5 it’s just a case of changing the default gateway. Rather than installing the pi physically between the ps5 and the router. Is that right?

I believe so. I’ve done it with pihole but not VPN, but it should be similar.