A really excellent piece of work - if closely followed it works perfectly. One thing to be aware of is that many installations now use NetworkManager by default so setting a fixed IP is a bit different. A quick Google will give the info. (Thanks for video - I hadn't set one of these up for years...your iptables reminder was a godsend.)
Thanks for the video! It was super helpful in getting my setup running. I also really enjoy your narration - there's something a bit comforting about your tone :) Cheers!
Very useful video. I managed to use systemd instead of the rc.local to setup the openvpn as a service. enable, disable, start, stop , status are working fine with the systemctl command.
Hi, great video, I wonder if someone could help. I'm running on a desktop version of pi OS, I can rdp & ssh in, when i run openvpn it connects OK to my service but i lose rdp and ssh connectivity from my LAN, i have to reboot to get rdp and ssh to connect, any advise on why this is happening and how to fix it? i have it on a static ip and eth0 is showing correct ip when VPN is connected, i can ping out of the pi but not in from my LAN. Thank you
your instruction for enabling the VPN worked, thank u! i couldn't get it to work in pi OS GUI interface , but this worked. however qBittorrent refuses to download when this VPN is enabled. will doing that stuff with the IP tables fix it? or what can i do?
The setup seems to go well but I can't find the Wi-Fi, it apparently is not broadcast and it is not what I set it as when I wrote to the SD card. Any help is appreciated
if you are using nord then the username and password is not your normal one, you need to find out the username and password to use from the dashboard in the "setup manually" section
I've got one issue, my pi is connected but on my devices it's still showing my public ip and not the vpn connect public ip when I check using whatismyip sites
Works well is there a way to add a kill switch if the OpenVPN service isnt running as I found that if the OpenVPN service stops its routes all traffic thru the default GW unencrypted
Nice tutorial. It works sufficiently fast for my needs on Raspberry Pi 2. One problem that I have is that when the tunnel is up, I have a problem resolving names when working locally on the Pi. (Temporary failure in name resolution). Is the name lookup somehow going through the tunnel and not resolved? Any ideas?
i have starlink which has CGNAT so no portforwarding. I have a really obscure question. I have a raspberry pi with dreampi software installed on it so I can play sega dreamcast games online. Some of the games require port forwarding and/or enabling dmz on the dreamcast ip. Could I use a secondary raspberry pi and set up or install a vpn on it and then connect the dreampi to it? to achieve port forwarding?
i don t understand if you are trying to configure a client or a vpn server, seems to be a client ? ^ i am not good at it. I was searching to how setup a vpnserver on a rapsberry from a country, let's say country A and connect a client from country B so i can get access to service from country B without ip location restriction (from country A), anyway thanks for the video
I followed this and was able to setup protonvpn on my raspberry pi , but there is 99% packet loss for devices connected on it and am getting speed of only 20Mbps when it should be 60Mbps
You'll notice the speed was almost exactly cut in half. That is because all the traffic is both going TO and coming FROM the pi. Wireguard is highly regarded, but it can't fix that bandwidth limitation.
Stuck on 13:55 - Testing the OpenVPN connection on the Raspberry Pi, this does not work, it looks like the openvpn is inactive and I don't know how to activated it, any help would be great, thanks. I get the below: systemctl status openvpn@raspberrypi | grep active Active: inactive (dead)
This video should be public domain. It's perfect. Many thanks.
A really excellent piece of work - if closely followed it works perfectly. One thing to be aware of is that many installations now use NetworkManager by default so setting a fixed IP is a bit different. A quick Google will give the info.
(Thanks for video - I hadn't set one of these up for years...your iptables reminder was a godsend.)
Excellent video. This filled in a few knowledge gaps I had about how things work. Thank you.
Perfecto - The absolute best guide I have ever followed. Step by step and everything worked .. for a change. Thank you so much for your time.
Thanks for the video! It was super helpful in getting my setup running. I also really enjoy your narration - there's something a bit comforting about your tone :) Cheers!
Oh, Thank you! :))
Very useful video. I managed to use systemd instead of the rc.local to setup the openvpn as a service. enable, disable, start, stop , status are working fine with the systemctl command.
I would like to connect my laptop to the raspi by a lan cable. How do I have to modify the iptable commands?
Hi, great video, I wonder if someone could help. I'm running on a desktop version of pi OS, I can rdp & ssh in, when i run openvpn it connects OK to my service but i lose rdp and ssh connectivity from my LAN, i have to reboot to get rdp and ssh to connect, any advise on why this is happening and how to fix it? i have it on a static ip and eth0 is showing correct ip when VPN is connected, i can ping out of the pi but not in from my LAN. Thank you
I would like a second video showing how to use this to provide access to to a host running services inside the LAN, across that VPN connection.
your instruction for enabling the VPN worked, thank u! i couldn't get it to work in pi OS GUI interface , but this worked. however qBittorrent refuses to download when this VPN is enabled. will doing that stuff with the IP tables fix it? or what can i do?
How to use windows RDP over the internet...using Raspberry Pi with OpenVPN
thx everything worked fine, is it possible that the pi reconnect to the vpn when the connection is lost whitout restart the complet pi?
The setup seems to go well but I can't find the Wi-Fi, it apparently is not broadcast and it is not what I set it as when I wrote to the SD card. Any help is appreciated
if you are using nord then the username and password is not your normal one, you need to find out the username and password to use from the dashboard in the "setup manually" section
where do you get the username and password from? do you set it up earlier?
How can I exclude everything for samba ports? Now when connected via the pi gateway and try to access the samba it try to access via tun0.
Can we bypass configuring the ip settings on the client machine by using an ethernet connection to the raspberry pi instead of wifi?
I've got one issue, my pi is connected but on my devices it's still showing my public ip and not the vpn connect public ip when I check using whatismyip sites
Works well is there a way to add a kill switch if the OpenVPN service isnt running as I found that if the OpenVPN service stops its routes all traffic thru the default GW unencrypted
Nice tutorial. It works sufficiently fast for my needs on Raspberry Pi 2. One problem that I have is that when the tunnel is up, I have a problem resolving names when working locally on the Pi. (Temporary failure in name resolution). Is the name lookup somehow going through the tunnel and not resolved? Any ideas?
Can i have it running on my PiHole raspberry? dont want to mess up with pihole setup
i have starlink which has CGNAT so no portforwarding. I have a really obscure question. I have a raspberry pi with dreampi software installed on it so I can play sega dreamcast games online. Some of the games require port forwarding and/or enabling dmz on the dreamcast ip. Could I use a secondary raspberry pi and set up or install a vpn on it and then connect the dreampi to it? to achieve port forwarding?
Using google's dns server wont be an issue ? Like a loss of privacy
Great tutorial. Only issue is speed. Is it possible to do this using wireguard?
Hi Matt, no idea ... If you find that out, let us know please!
This was brilliant help, thanks a lot
You're welcome!
Great tutorial! Thank you!
I wonder where do we get the username and password? I cannot find where did you get it
Hi Javid, you have to get that from your VPN provider.
i don t understand if you are trying to configure a client or a vpn server, seems to be a client ? ^ i am not good at it.
I was searching to how setup a vpnserver on a rapsberry from a country, let's say country A and connect a client from country B so i can get access to service from country B without ip location restriction (from country A), anyway thanks for the video
The pi in this example is a client.
Keep getting 404 error on getting the openvpn
I followed this and was able to setup protonvpn on my raspberry pi , but there is 99% packet loss for devices connected on it and am getting speed of only 20Mbps when it should be 60Mbps
Hi Pranav, OpenVPN tends to be slow...
those are very bad speed not worth it. use wireguard instead of OpenVPN
Thanks for your input. I'll give it a shot!
@@ExperiencingIT did you try wireguard and see any difference
You'll notice the speed was almost exactly cut in half. That is because all the traffic is both going TO and coming FROM the pi. Wireguard is highly regarded, but it can't fix that bandwidth limitation.
nope. im using it right now. the only difference is just 1mb. full speed/busy server. @@greenftechn
5 words into the video and i bet you're portuguese. nice accent tho
Stuck on 13:55 - Testing the OpenVPN connection on the Raspberry Pi, this does not work, it looks like the openvpn is inactive and I don't know how to activated it, any help would be great, thanks.
I get the below:
systemctl status openvpn@raspberrypi | grep active Active: inactive (dead)