clientvpn
Posts: 2
Joined: Fri Aug 16, 2019 6:50 pm

Making a VPN gateway with two ethernet ports?

Fri Aug 16, 2019 7:05 pm

I'm trying to setup a Raspberry Pi 3B to my parents house. They live abroad and would like to use their Apple TV with my (their home country) local content.

I've previously set up a Raspberry Pi 3 B+ as a VPN server at my place and it works just fine. My parents connect to it with their computers using Tunnelblick and everything runs smoothly. My home connection is a 1000/100, so there's plenty of bandwidth for them to use as well :-)

But now I'm a bit lost. I'd like to take my other Pi to their place abroad and connect it between the router and the Apple TV so, that the Apple TV connects to my VPN server via the new Pi working as a VPN client. I've bought a USB Ethernet adapter as a secondary ethernet connection to my Pi and it works fine, so I'd like to use only wired connections. I've tried just about all tutorials and how to guides but none seem to work perfectly. I'm able to get the OpenVPN-connection running, but then when I start setting up the connections and IPtables and all that, it always stops connecting all together.

So please, help me get my parents all their local shows abroad. They'll be forever in your debt :-)


PS. NordVPN and other services are out, since their connections are detected these days and most content refuses to play.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12131
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Making a VPN gateway with two ethernet ports?

Fri Aug 16, 2019 9:11 pm

clientvpn wrote:
Fri Aug 16, 2019 7:05 pm
I'm trying to setup a Raspberry Pi 3B to my parents house. They live abroad and would like to use their Apple TV with my (their home country) local content.

I've previously set up a Raspberry Pi 3 B+ as a VPN server at my place and it works just fine. My parents connect to it with their computers using Tunnelblick and everything runs smoothly. My home connection is a 1000/100, so there's plenty of bandwidth for them to use as well :-)

But now I'm a bit lost. I'd like to take my other Pi to their place abroad and connect it between the router and the Apple TV so, that the Apple TV connects to my VPN server via the new Pi working as a VPN client. I've bought a USB Ethernet adapter as a secondary ethernet connection to my Pi and it works fine, so I'd like to use only wired connections. I've tried just about all tutorials and how to guides but none seem to work perfectly. I'm able to get the OpenVPN-connection running, but then when I start setting up the connections and IPtables and all that, it always stops connecting all together.

So please, help me get my parents all their local shows abroad. They'll be forever in your debt :-)


PS. NordVPN and other services are out, since their connections are detected these days and most content refuses to play.

Its because what you want is illegal in the countries that block VPN.

clientvpn
Posts: 2
Joined: Fri Aug 16, 2019 6:50 pm

Re: Making a VPN gateway with two ethernet ports?

Fri Aug 16, 2019 9:26 pm

mahjongg wrote:
Fri Aug 16, 2019 9:11 pm

Its because what you want is illegal in the countries that block VPN.
Thanks for the reply! It's no more illegal than using VPN with Netflix to watch another countries content. Both me and my parents live in the EU, northern Europe. NordVPN has been working perfectly until now, but these days Netflix and especially and HBO Nordic keep picking it up.

ejolson
Posts: 3438
Joined: Tue Mar 18, 2014 11:47 am

Re: Making a VPN gateway with two ethernet ports?

Sat Aug 17, 2019 8:34 am

clientvpn wrote:
Fri Aug 16, 2019 9:26 pm
mahjongg wrote:
Fri Aug 16, 2019 9:11 pm

Its because what you want is illegal in the countries that block VPN.
Thanks for the reply! It's no more illegal than using VPN with Netflix to watch another countries content. Both me and my parents live in the EU, northern Europe. NordVPN has been working perfectly until now, but these days Netflix and especially and HBO Nordic keep picking it up.
There are many things that are illegal which aren't necessarily immoral. For example sharing is an activity that turns out to be illegal when it comes to proprietary software, digital video and music. In cases such as these, the correct course of action is not a technical work around but political change.

Imagine if a precondition to connecting a server to the public internet was an agreement to provide equal access and opportunity to all people regardless of their race, nationality, socioeconomic status or IP address. People who talk about net neutrality and public resources often miss this important point. If, due to whatever reason, it isn't possible to provide nondiscriminatory access, then that server should not be part of the internet and instead distribute it's information through a separate (non-virtual) private network.

If you live in a country amenable to such a political change, I would encourage you to write a letter to your local president, governor, senate, parliament, dictator, king, queen or lord explaining how the internet should work and asking for more legislation. On the other hand, maybe that's a bad idea.

epoch1970
Posts: 3579
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Making a VPN gateway with two ethernet ports?

Sat Aug 17, 2019 12:34 pm

When you sign a contract with a service provider you are supposed to read their terms of service and have accepted them.
N*tfli* current ToS clearly state the use of geofencing and even their reason for it: they are themselves licensing content under limited rights. Cf §4.3
If you don’t like it, do not sign with them.
If you find the clause preposterous you can challenge its legality in court, good luck with that.
This is a purely commercial and convenience matter and has nothing to do with fundamental rights. If you’re using a VPN to circumvent geofencing for such a service, you’re in breach of contract, full stop. Don’t try to convince yourself or anyone you’re a freedom fighter.

The best way to teleport a “black box” device and make it believe it is still part of its origin network is to extend the network through a tunnel. A site to site bridged VPN. Very useful technique in general, should work to watch the telly as well..
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Networking and servers”