Yammers
Posts: 69
Joined: Tue Nov 14, 2017 9:01 pm

VPN

Tue Sep 17, 2019 5:48 pm

Hi There following on from a previous post about accessing raspberry pi remotely to allo transfer of files over the internet such as updating movies for Kodi etc.

is there a free VPN not one of the cloud based ones. that allow me to create a private connection between my rasberry pi and my computer then use filezilla to transfer the files etc.

Like remote access you would do for a windows machine etc.

User avatar
graysky
Posts: 98
Joined: Fri Apr 05, 2013 11:43 am
Location: /run/user/1000
Contact: Website

Re: VPN

Tue Sep 17, 2019 6:31 pm

OpenVPN or Wireguard

Yammers
Posts: 69
Joined: Tue Nov 14, 2017 9:01 pm

Re: VPN

Tue Sep 17, 2019 10:24 pm

Which one is free lol

pica200
Posts: 216
Joined: Tue Aug 06, 2019 10:27 am

Re: VPN

Tue Sep 17, 2019 11:28 pm

You seem to misunderstand how this is working. If you pay a VPN provider you pay them for access to their server. You want to connect to your Pi which costs nothing but time to setup the VPN server software and energy for it to run.

Andyroo

Re: VPN

Tue Sep 17, 2019 11:47 pm

Yammers wrote:
Tue Sep 17, 2019 5:48 pm
Hi There following on from a previous post about accessing raspberry pi remotely to allo transfer of files over the internet such as updating movies for Kodi etc.

is there a free VPN not one of the cloud based ones. that allow me to create a private connection between my rasberry pi and my computer then use filezilla to transfer the files etc.

Like remote access you would do for a windows machine etc.
You could just use ssh - set a limited user up, set ssh to use keys only, lock the machine down and use a different port.

Create a ssh link to the external IP address and fire up FileZilla to use the ssh link as the restricted user.

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

Re: VPN

Wed Sep 18, 2019 4:42 am

Yammers wrote:
Tue Sep 17, 2019 10:24 pm
Which one is free lol
Both are free. I would use WireGuard or IPsec for hardening a local area network and either OpenVPN or an ssh tunnel to connect remote through the Internet.

I recently tested WireGuard on a number of different Raspberry Pi models and was favorably impressed. Details are at

https://www.raspberrypi.org/forums/view ... 6&t=251159

Heater
Posts: 15838
Joined: Tue Jul 17, 2012 3:02 pm

Re: VPN

Wed Sep 18, 2019 5:01 am

Yammers,

In order to get a connection from your PC to a Pi across the internet without some "cloud" server in the middle at least one end will need to be reachable from the internet, it will have a public IP address and preferably a domain name. Otherwise they cannot find each other.

If your Pi can be given a public IP address by your ISP you are good to go. You can access it via HTTP/HTTPS or SSH/SCP or whatever directly from anywhere in the world.

If not then your PC will need a public IP address that the Pi can connect back to instead. In this case a VPN like wiregard installed on your PC may be appropriate.

If neither end can get a public IP address then it is impossible for them to contact each other directly and you will need a server in the cloud that they can use as an intermediary. A VPN service provider for example. Or you could run your own server on Google cloud, Amazon, Azure etc.

Alternatively you can use the services of someone like Dataplicity https://www.dataplicity.com or Balana https://www.balena.io/ to get your Pi onto the net. Both of those have worked will for me in the past and have free offerings.
Memory in C++ is a leaky abstraction .

Return to “General discussion”