Hi,
I’ve been struggling with this little project for a very long time now and am now turning to this subreddit for help.
Setup:
I’ve got a TV on which I want to use streaming services from other countries. I have a paid VPN subscription. I have a raspberry pi 4.
The TV is connected via ethernet to my router. The pi is also connected via ethernet to my router.
On the pi I’m running my vpn software. I have also set up ipv4 forwarding and NAT rules.
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
Problem:
By setting the default gateway on the TV to the IP of the Pi i am able to connect to different countries. So far so good. The Internet speed im getting is horrendous though <1Mbps. If I compare this to the speed I’m getting on my laptop using the VPN software there, it’s in the ~ 100Mbps range. If use the Pis IP as gateway on the laptop I’m back down to 1Mbps.
Question:
What is the bottleneck in my setup?
Any help is greatly appreciated! Cheers