Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Privacy
  3. turning a raspberry pi 4B into a vpn router

turning a raspberry pi 4B into a vpn router

Scheduled Pinned Locked Moved Privacy
privacy
45 Posts 16 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    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?

    lemmchen@feddit.orgL N ? M orhtej2@eviltoast.orgO 7 Replies Last reply
    1
    0
    • System shared this topic on
    • A [email protected]

      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?

      lemmchen@feddit.orgL This user is from outside of this forum
      lemmchen@feddit.orgL This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      You're not going to have fun when using OpenVPN. Even Wireguard will be a stretch. The Raspberry Pi does not have any hardware cryptography acceleration built-in and the raw compute power is very limited.

      ? A thatsnothowyoudoit@lemmy.caT 3 Replies Last reply
      0
      • lemmchen@feddit.orgL [email protected]

        You're not going to have fun when using OpenVPN. Even Wireguard will be a stretch. The Raspberry Pi does not have any hardware cryptography acceleration built-in and the raw compute power is very limited.

        ? Offline
        ? Offline
        Guest
        wrote on last edited by
        #3

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

        A lemmchen@feddit.orgL 2 Replies Last reply
        0
        • lemmchen@feddit.orgL [email protected]

          You're not going to have fun when using OpenVPN. Even Wireguard will be a stretch. The Raspberry Pi does not have any hardware cryptography acceleration built-in and the raw compute power is very limited.

          A This user is from outside of this forum
          A This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          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?

          const_void@lemmy.mlC mentaledge@sopuli.xyzM 2 Replies Last reply
          0
          • ? Guest

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

            A This user is from outside of this forum
            A This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • A [email protected]

              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?

              N This user is from outside of this forum
              N This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              Just install Raspbian and PiVPN and forward the right ports dude; Less complicated

              A kratoz29@lemm.eeK 2 Replies Last reply
              0
              • A [email protected]

                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?

                const_void@lemmy.mlC This user is from outside of this forum
                const_void@lemmy.mlC This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                Sell it and get something more suited to the task instead of trying to shoehorn it onto a pi.

                A 1 Reply Last reply
                0
                • A [email protected]

                  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@sopuli.xyzM This user is from outside of this forum
                  mentaledge@sopuli.xyzM This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  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.

                  A 1 Reply Last reply
                  0
                  • mentaledge@sopuli.xyzM [email protected]

                    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.

                    A This user is from outside of this forum
                    A This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

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

                    A 1 Reply Last reply
                    0
                    • N [email protected]

                      Just install Raspbian and PiVPN and forward the right ports dude; Less complicated

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      Thanks but I think you misunderstood. I don't want to run a VPN server I want to run a openVPN client on a router

                      F 1 Reply Last reply
                      0
                      • const_void@lemmy.mlC [email protected]

                        Sell it and get something more suited to the task instead of trying to shoehorn it onto a pi.

                        A This user is from outside of this forum
                        A This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        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

                        1 Reply Last reply
                        0
                        • A [email protected]

                          Thanks but I think you misunderstood. I don't want to run a VPN server I want to run a openVPN client on a router

                          F This user is from outside of this forum
                          F This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          Can you just get your own Router and use that instead of the ISP one? Then you can flash whatever firmware you want on it and you can run the openvpn/wireguard client at the router level. You won't need to combine the Pi with it.

                          A 1 Reply Last reply
                          0
                          • A [email protected]

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

                            A This user is from outside of this forum
                            A This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            I think GL.inet has tiny ones you can use.

                            lemmchen@feddit.orgL A 2 Replies Last reply
                            0
                            • F [email protected]

                              Can you just get your own Router and use that instead of the ISP one? Then you can flash whatever firmware you want on it and you can run the openvpn/wireguard client at the router level. You won't need to combine the Pi with it.

                              A This user is from outside of this forum
                              A This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              What should I buy that supported by OpenWRT?

                              F 1 Reply Last reply
                              0
                              • ? Guest

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

                                lemmchen@feddit.orgL This user is from outside of this forum
                                lemmchen@feddit.orgL This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #15

                                Define great. Tailscale doesn't even run Wireguard on the kernel level, but in user space.

                                1 Reply Last reply
                                0
                                • A [email protected]

                                  I think GL.inet has tiny ones you can use.

                                  lemmchen@feddit.orgL This user is from outside of this forum
                                  lemmchen@feddit.orgL This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #16

                                  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.

                                  1 Reply Last reply
                                  0
                                  • lemmchen@feddit.orgL [email protected]

                                    You're not going to have fun when using OpenVPN. Even Wireguard will be a stretch. The Raspberry Pi does not have any hardware cryptography acceleration built-in and the raw compute power is very limited.

                                    thatsnothowyoudoit@lemmy.caT This user is from outside of this forum
                                    thatsnothowyoudoit@lemmy.caT This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #17

                                    Ran WireGuard on a Pi1 and it was fine for two users.

                                    A 4b should be more than enough for many use cases except torrenting. It really depends on the workload.

                                    1 Reply Last reply
                                    0
                                    • A [email protected]

                                      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?

                                      ? Offline
                                      ? Offline
                                      Guest
                                      wrote on last edited by
                                      #18

                                      You have the pi, give it a go.

                                      If it's inadequate then i'd recommend a used fanless thin-client type PC, such as a Wyse 5070, just make sure it comes with PSU and a few GB of RAM and SSD. And check reports of how much power it uses at idle.

                                      A 1 Reply Last reply
                                      0
                                      • A [email protected]

                                        What should I buy that supported by OpenWRT?

                                        F This user is from outside of this forum
                                        F This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #19

                                        I think most consumer routers let you flash firmware. I believe certain Asus ones do, but obviously just validate that before buying it. OpenWRT has a list of supported devices you can check.

                                        I just figured that if you're doing network stuff then you'd likely want to use something other than the ISP router as those track your activity more (this is a privacy community after all) and lock many features you may need.

                                        A 1 Reply Last reply
                                        0
                                        • A [email protected]

                                          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?

                                          M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #20

                                          This may be helpful if you haven't found it yet. It has a full list of instructions to flash and configure openwrt on the rpi 4 with wireguard VPN. It says you can also do it with openvpn, but claim the speed was much slower.

                                          https://www.instructables.com/Highspeed-VPN-Router-With-Raspberry-Pi/

                                          A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups