Now that I have time for hobbies again I wanna dive right in to building up a home lab. Right now I just have a Netgear router that reached end of life, and a NAS i’d like to make accessible remotely, and a DIY router seems like the correct next step for me. I’m very interested in ad-blocking network wide and someday I’d like to host my own little webpage, but for now I’m really just barely getting started.

I’m information gathering, I don’t know what I don’t know and my networking skills are pretty weak anyway. But even if your needs and desires have nothing to do with mine, I also just like to hear people talk about their set ups. Please? 🌞

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    22 minutes ago

    I usually just use proper network devices. OpenWRT will general run on anything with Mediatec or Qualcomm based assuming it has support

  • nbailey@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    27 minutes ago

    It’s currently a N100 mini-pc running Debian, but in the past it’s been all kinds of random hardware including a busted old laptop with an expresscard-PCIe riser for the second NIC. Anything can be a router if you know what you’re doing!

    https://nbailey.ca/post/router/

  • hexagonwin@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    46 minutes ago

    i had a cheap made in china consumer router with mt7621 on it, porting openwrt was surprisingly easy and its been running well enough for the past 5 years. adguard home runs on it and handles dns adblocking

  • glizzyguzzler@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    Got a “Dell Wyze 5070 extended”, the extended is important because it lets it have a half height PCIe card. Put a dual NIC Intel card in it. It came with 8 GB of RAM and a 64 GB SATA M.2 drive, plenty. Price out a power brick if it doesn’t come with one, which is a Dell laptop one; it refuses to turn on with a PCIe card in and if the power brick is less than 130W (DA130PE1-00 is a product # of it)!! Very annoying. Note the Intel atom processor in it lacks AVX2 instructions which makes mongoDB past v4 not work on it, so you can’t run the Unifi controller, which has vexed me. But it’s fine for internet routing! Never tested throughput but others have online.

    (Note: I would not do this now!) I put proxmox on it then did opnsense (passing through the PCIe NICs) and Debian. I chose opnsense over openwrt because opnsense had an automatic update functionality, while openwrt required you to manually wipe the OS and reinstall - when they fix nasty upgrade path that I’ll come knockin. (Openwrt is like that because that’s how routers do upgrades)

    I would not choose proxmox now because its upgrade path is fraught since the free level is rolling and they’ve had critical breaking update errors in the past. No good for your router setup. I want upgrades on and automatic so I don’t get kiddie script hacked.

    I’m prepping to do either opnsense only and not in a VM or Debian with Incus (VM manager like promox, but not its own OS) installed and then opnsense in a VM. I’m leaning opnsense direct to just make sure my router works, but I’ve never had trouble with Debian yet so still pondering.

    I run a pihole and wireguard on the current Debian VM, and opnsense can do wireguard so most of the way there. In the future I’ll switch that pihole instance (wherever it is) to adguardhome, the local rewrite rules in pihole don’t support wildcards so it’s annoying af to have to load in every local domain I set up.

    This has worked well for years and I’ve never measured power but I presume it is low.

    Hope this infodump helps!

  • pHr34kY@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    When I retire my desktop PC, the old parts become my router. If you have two network ports, it can do it.

    To warrant the power bill, it’s also a NAS, NVR, mail server, print server and web server.

    All my Wifi APs are various home routers flashed with OpenWRT.

  • tburkhol@slrpnk.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    I got an N100 motherboard with 4x GB ports and installed ubuntu. Configured 1 port for the ISP, 1 port for a guest network, and bridged the last two with a WIFI PCIe card for the trusted network. hostapd to manage the wifi, and it took a couple tries before I found a card that really handled AP mode well. dhcpd, radvd. bind 9 for DNS, integrated with dhcpd so clients can declare their own hostname. There’s a separate pihole in front of that. Took a while to discover that I had to specifically configure dhclient to the ISP to request IPv6 prefix delegation. The guest network port goes to a ddwrt router.

    It also runs a mythtv backend, a couple web sites; immich, jellyfin, and paperless ngx containers. In my head, it’s more of a server with router functions glued on, where […]sense is more of a router with server functions glued on.

    I was comfortable with cli administration, and the router side sort of grew organically, with a little victory each time I could unplug another appliance - first a WAP, then a switch. opn/pf-sense is probably an easier way to get into the DIY space, especially if you want to replace your whole infrastructure at one time.

  • SadSadSatellite @lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    I’m running openWRT on a nanopi R5S. It’s tiny, robust, cheap, and uses very little power. It came with FriendlyElec, a fork of openWRT designed specifically for the device, but if flashed the standard version onto it so I could get more support from reading forums. I don’t know if that was the right move.

    It was a bitch to get set up right, but that’s due to my lack of experience, not the device. It didn’t help that there was a major update to OpenWRT/LuCI right in the middle of my figuring out the program, that drastically changed the GUI. It also didn’t help that I was setting up a NAS, and a proxmox server at the same time, so anytime something broke I had 3 system to troubleshoot.

    All that aside, it’s been working great since setup with zero maintenance. It does get hot enough that I don’t set it on any other device, but it never throttles itself or overheats.

  • grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 hours ago

    I just put OpenWRT on a (at this point quite old) TP-Link non-DIY home router. The only thing wrong with it is that it isn’t a rack-mountable rectangle, which offends my perfectionism.

    I don’t care if TP-Link thinks it’s EOL as long as OpenWRT doesn’t. You should check the supported devices list for your current hardware.

  • neidu4@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 hours ago

    Right now I’m using a Fortigate 101E, but eons back I used a simple PC built as cheaply as possible, installed Linux, ip_forward = 1, and iptables.

    I am, however, tempted to build something semi-professional based on a banana pi, as I need something custom for work.

    • EmilieEasie@fedinsfw.appOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 minutes ago

      Can I ask why you need something custom for work? I’m myself curious how I’ll make my DIY set up play nice with my job’s VPN 😅

      • neidu4@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 minutes ago

        Highly niche requirements not serviced by available hardware without costing waaaay too much. For example, we’re currently using Cisco Meraki MX85, and even they’re not quite there.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    I’m running pfSense on an old Intel Atom fanless mini PC with 6 ethernet ports. I use pfBlocker for ad blocking. I also installed a GPS module in it. That’s the clock source for the NTP server. I was planning on replacing it with something newer, but that’s not happening until memory prices come down.

    I would not recommend using pfSense anymore. My next router will be running OPNsense. I will probably install Adguard Home on that for ad blocking.

  • Egonallanon@feddit.uk
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 hours ago

    I had a virtualized PFsense box for a while doing my inherent. Was actually pretty solid even when having to wrangle the quirks having a virtualized firewall/router caused.

    • SmoothLiquidation@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      I have something similar it’s been working great.

      I have been thinking of trying to set up a “router on a stick” as a live backup but once I started researching it, it got daunting.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 hours ago

    I bought a firewall appliance based on an Intel CPU, with 4x 2.5gbps Ethernet ports, 8gb ram. Installed opnSense on it and been super happy even since!

    A bit pricey the hardware, but it’s been totally rock solid for almost two years now.

    I have configured unbound with ad blocking on opnSense, and it has every single option I would ever want on it. Amazing stuff.

    • EmilieEasie@fedinsfw.appOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I’ve seen a lot of people on YouTube talking about this or that cast off networking device that they turned into a router. I do find the idea of repurposing especially old tech appealing. Or did you buy it brand new?

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    ·
    5 hours ago

    Not sure how “DIY” you want to go. I’ve been liking OPNSense though. Running it on an air cooled Protectli box.

    Handles a symmetric 2Gbps connection just fine.

    • EmilieEasie@fedinsfw.appOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      Originally I was thinking I’d find a used business mini pc and put some open source router OS on there, still haven’t picked which one. But I’ve gotten super into, like, being cautious about power consumption and some of the little boxes you can get on AliExpress seem like that might be a better option? I’m not sure yet. What’s a Protectli, if you don’t mind?

  • nymnympseudonym@piefed.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 hours ago

    OpenWRT all the way.

    Skynet firewall

    PiHole

    Stable IP addresses and a private interface for family phones/laptops/pcs

    Guest network for nasty Roku TV/peleton

    • EmilieEasie@fedinsfw.appOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      I never even thought about a guest network for different services. Why do you do that, if you don’t mind? Privacy?

      • GreenCrunch@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        You could configure different settings, such as preventing the device from connecting to ad servers. You also prevent it from scanning your network to learn about all your devices, since all it would be limited to that isolated network.

          • GreenCrunch@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            49 minutes ago

            I don’t know. Is it internet connected? If so I wouldn’t trust it…

            Many home grade routers allow you to set up a guest WiFi network though so you may be able to isolate it that way if you’re concerned/can determine what telemetry it’s sending from the privacy policy or other reports.

            This article talks about their website’s standard creepy tracking cookies and stuff, which depressingly everyone does. https://blog.avast.com/what-peloton-knows-about-you-avast

            But if it has Bluetooth and WiFi it has a lot of potential for tracking all sorts of things. I don’t have one and don’t know if they’re using that potential, but it’s there. It would be interesting to investigate.