turning a raspberry pi 4B into a vpn router - eviltoast

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?

  • tavu@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    ·
    13 hours ago

    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.

    • merlin@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      15 hours ago

      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

      • FeelzGoodMan420
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        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.

          • FeelzGoodMan420
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            13 hours ago

            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.

  • orhtej2
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 hours ago

    I used RaspAP for the purpose lately, comes with VPN support built in