How to setup a Raspberry Pi OpenVPN gateway

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 43

  • @rafbass
    @rafbass Před rokem +2

    This video should be public domain. It's perfect. Many thanks.

  • @m4euro
    @m4euro Před 5 měsíci +1

    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.)

  • @w2tty
    @w2tty Před 5 měsíci +1

    Excellent video. This filled in a few knowledge gaps I had about how things work. Thank you.

  • @SimonRockwell-uu4eo
    @SimonRockwell-uu4eo Před 6 měsíci

    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.

  • @thevivsavage
    @thevivsavage Před 2 lety

    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!

  • @karlkwan
    @karlkwan Před 5 měsíci

    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.

  • @heiliger-martin-kl
    @heiliger-martin-kl Před 5 dny

    I would like to connect my laptop to the raspi by a lan cable. How do I have to modify the iptable commands?

  • @iansmith4580
    @iansmith4580 Před 8 dny

    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

  • @greenftechn
    @greenftechn Před 9 měsíci

    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.

  • @DanDanDan-c2w
    @DanDanDan-c2w Před 7 měsíci

    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?

  • @NikunjKacha
    @NikunjKacha Před 4 měsíci

    How to use windows RDP over the internet...using Raspberry Pi with OpenVPN

  • @Killafish135
    @Killafish135 Před rokem

    thx everything worked fine, is it possible that the pi reconnect to the vpn when the connection is lost whitout restart the complet pi?

  • @btbpsmg
    @btbpsmg Před rokem

    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

  • @stedz2000
    @stedz2000 Před 11 měsíci

    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

  • @joymiller3140
    @joymiller3140 Před rokem +1

    where do you get the username and password from? do you set it up earlier?

  • @mrshuffle3696
    @mrshuffle3696 Před rokem

    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.

  • @GRBSnatch
    @GRBSnatch Před rokem

    Can we bypass configuring the ip settings on the client machine by using an ethernet connection to the raspberry pi instead of wifi?

  • @redsvision4026
    @redsvision4026 Před rokem

    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

  • @PeterBladen
    @PeterBladen Před rokem

    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

  • @Davor.Spasoski
    @Davor.Spasoski Před 2 lety

    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?

  • @raf.b
    @raf.b Před rokem

    Can i have it running on my PiHole raspberry? dont want to mess up with pihole setup

  • @justinwrenn5521
    @justinwrenn5521 Před rokem

    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?

  • @1play33r7_
    @1play33r7_ Před rokem

    Using google's dns server wont be an issue ? Like a loss of privacy

  • @gryphons3
    @gryphons3 Před rokem

    Great tutorial. Only issue is speed. Is it possible to do this using wireguard?

    • @ExperiencingIT
      @ExperiencingIT  Před rokem

      Hi Matt, no idea ... If you find that out, let us know please!

  • @andybaxta
    @andybaxta Před 2 lety

    This was brilliant help, thanks a lot

  • @redstarsrbija
    @redstarsrbija Před rokem

    Great tutorial! Thank you!

  • @javiddovlatov8675
    @javiddovlatov8675 Před rokem +1

    I wonder where do we get the username and password? I cannot find where did you get it

    • @ExperiencingIT
      @ExperiencingIT  Před rokem

      Hi Javid, you have to get that from your VPN provider.

  • @bobsimon1554
    @bobsimon1554 Před rokem

    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

    • @greenftechn
      @greenftechn Před 9 měsíci

      The pi in this example is a client.

  • @KH-zz8tm
    @KH-zz8tm Před 2 lety

    Keep getting 404 error on getting the openvpn

  • @MegaPrams
    @MegaPrams Před 2 lety +1

    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

  • @user-ge9fb3di8j
    @user-ge9fb3di8j Před 2 lety +1

    those are very bad speed not worth it. use wireguard instead of OpenVPN

    • @ExperiencingIT
      @ExperiencingIT  Před 2 lety

      Thanks for your input. I'll give it a shot!

    • @MegaPrams
      @MegaPrams Před 2 lety

      @@ExperiencingIT did you try wireguard and see any difference

    • @greenftechn
      @greenftechn Před 9 měsíci +1

      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.

    • @bonedosavuvu5269
      @bonedosavuvu5269 Před 8 měsíci

      nope. im using it right now. the only difference is just 1mb. full speed/busy server. @@greenftechn

  • @LemonDropsMedia
    @LemonDropsMedia Před rokem +1

    5 words into the video and i bet you're portuguese. nice accent tho

  • @nbat58
    @nbat58 Před rokem

    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)