I read more and more about people using their pi as a VPN “Tunnel”.
Currently I pay a VPN provider… I would say since 3 years monthly. I can use it on 4 Devices at the Same time.
What exactly can a pi do in terms of vpn?
Can I use it as a Pihole + VPN?
Is IT possible to use a foreign IP Adress just when i need IT and not permanently on All Devices?
Yes, it’s common to use a Pi as a VPN, to give you access to your local network when you are away from home.
It will only give you access to your local network and home IP address. It can’t give you a foreign IP address unless it’s physically located in a foreign place. Your paid VPN service has servers all over the world, that’s how they can give you IP address choices from all over.
Most good routers have a VPN function built in, so you may not need the Pi at all.
You would be using your network as the vpn network. Sooo, I wouldn’t go turning on all your download things with it.
It is good if you travel and want all your traffic to go to your house, in a tunnel, then exit at your house. You can save money on wifi calls from all over the world, that way. Tailscale would be something you may want to look into. Easier setup of the tunnels and easy to make your pi an exit node
A lot of people confuse that they can replace their VPN service provider with Pi VPN. However, these two are different use cases. Pi VPN is usually used to get access to home network and resources from outside, e.g. while traveling. Yes, if you are in Paris and your Pi is in California, you can configure and use it to access internet as well, that will give your device California IP address.
Having a Pi VPN at home and using this VPN to access www from home network has no value. You encrypt network traffic in your own private network only. Point is, using cloud VPN service provider or Pi VPN will depend on your use case, an in most probability, they are not exactly interchangeable unless you deploy 4-5 Pi VPN across different geographic locations all over the world.
For constructive feedback and better engagement, detail your efforts with research, source code, errors, and schematics. Stuck? Dive into our FAQ† or branch out to /r/LinuxQuestions, /r/LearnPython, or other related subs listed in the FAQ. Let’s build knowledge collectively.
I use a Pi as a VPN server and as a VPN client for different scenarios. My VPN server grants access to my home LAN via Wireguard to my personal mobile and laptop. My VPN client is on a server running qbittorrent to download and seed torrents 24/7, and I use Samba to make the storage for torrents a SMB share where I can upload torrent files and download content (Linux ISOs, for example).
Hey, I tried recently to do exactly what you described for a seedbox and had trouble getting samba up and running. I could share the home folder but couldn’t share the external hard drive.
Do you have a guide that you followed or any tips? Thanks either way!
You can use your Pi for “vpn stuff”, it’s just that you aren’t using it with cloud vpn hosts, you’re using it with a vpn server on your home LAN. You can vpn into that server from anywhere on the planet and then configure it to let out through your own gateway and onto the internet. So, it’ll look like to anyone on the internet that you’re connecting from home.
A VPN is not just a cloud service, VPN servers came first, then companies sold VPN as a service in the cloud.
If a Pi running VPN on your home lan serves your needs, do it and save the money.
so I can mount my external hdd via ‘net use y: \\192.168.1.100\ClearDisk’ and access my stuff. What kills me is it’s a Pi 3B+, so file transfers are slow, but I can’t justify a Pi 4 for a seedbox.