Hi guys as title suggests I have a pi 4b 4gb and basically I want to connect it to my isp provided router (wired connection via a lan cable) and run an openvpn config on it and then connect it to an access point that i already have (this one is wired too via a usb to RJ45 adapter and lan cable). I know that I need to flash openwrt image on an sdcard and install it on pi4 but I don’t know how to configure openwrt after that and honestly the guides on the forums and internet are a little confusing (I’m not that tech savy) also I read that not all usb to RJ45 adapters work with openwrt on pi4 but I don’t know which one to buy. can anyone show me a fool proof guide or tell me what I need to do? Edit: thank you all amazing people for your input I found a Google wifi mesh solution second hand (ac-1304 model) that is supported by OpenWRT latest firmware for a good price and I went with that. Gonna find a proper use case for my Raspberry Pi in the future for now gonna keep it as a tinkering device.

    • @thatsnothowyoudoit@lemmy.ca
      link
      fedilink
      7
      edit-2
      2 days ago

      Ran WireGuard on a Pi1 and it was fine for two users. Albeit WireGuard was the ONLY thing running aside from a Gitlab Runner.

      A 4b should be more than enough for many use cases except things that cause torrents of packets - but even then YMMV. It really depends on the workload.

      One bit of advice: if you can, use a storage device other than the micro-sd slot for the 4B. Again YMMV.

    • KbSez
      link
      fedilink
      English
      52 days ago

      You could use Tail Scale. It runs great on a Pi

      • merlinOP
        link
        fedilink
        English
        12 days ago

        Can I run OpenVPN configs on it and use it as a roiter

    • merlinOP
      link
      fedilink
      English
      32 days ago

      I already have a pi4B just wanted to find a use case for it. Is it really that bad? so how consumer routers with a fifth computing power run vpns?

      • MentalEdge
        link
        fedilink
        62 days ago

        With hardware acceleration.

        Computing power isn’t just a general quantity. Networking devices have dedicated chips in them to perform various parts of processes. (Encryption, decryption, encoding, decoding, compression, decompression, etc.)

        That’s hardware acceleration. There are chips that are super efficient and powerful but they can only do that one thing.

        That’s fine if you know exactly what the device is going to be for, so you can put in the exact chips it needs to do only what it needs to do.

        • merlinOP
          link
          fedilink
          English
          22 days ago

          Makes sense Well explained thanks. I guess I’ll find a dedicated VPN router

            • merlinOP
              link
              fedilink
              English
              22 days ago

              I checked GL.inet is not available where I live

            • @Lemmchen@feddit.org
              link
              fedilink
              English
              32 days ago

              gl.iNet definitely shows your expected VPN speed (OpenVPN and Wireguard) on their product pages, which is great.
              Still, if you need gigabit speeds, those devices usually can not provide that.

        • merlinOP
          link
          fedilink
          English
          22 days ago

          I think you’re right. I guess I need a wired router that can run OpenVPN on stock firmware or supported by and OpenWRT can be installed on it and has the hardware needed to run OpenVPN clients. The problem is I don’t know what to buy now and honestly where I live there are not many options