I am planning to eventually build my own home server, and when I do I will hook it up via ethernet. But I do want to switch away from the generic FIOS router and use my own for more control over my data and security. Any recommendations?

      • vector_zero@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        This seems like it’s geared toward higher power hardware that’s not generally available on a consumer-grade router.

        • stown@sedd.it
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          You could buy a $300 consumer router and it would be worse than just using an old PC with OPNsense.

          • _TK@lemmy.antemeridiem.xyz
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            Except that the old PC is probably less efficient at a lower clock than an AR based consumer router. You’ll get more performance and features, but it will be more expensive to run.

            • stown@sedd.it
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              I guess if you live in a place where electricity is super expensive this will matter. A good majority of self-hosted people don’t seem to care much as they have server racks full of old hardware.

    • thejoker8814@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Please don’t host a router on a Hypervisor VM. That does not benefit security. First of all a router is an integral part of the (home) network, therefore it should not be dependent on anything, like a hypervisor. You want to be able to replace or update your server/ hypervisor independently from each other, for example in 5 hrs your router might be still rocking all data, but you would want to upgrade your home server / hypervisor. Furthermore all those OpenWRT, PFsense, OpenSense kernel/ OS hardening is more effective on the hardware itself, especially all RAM/ Memory based security measures. Also if you truly want to be more secure, you use dedicated hardware for multiple reasons, performance is dedicated to only routing/ firewall processing (no other service/ VM can block or slow down packet processing), reducing the attack surface (less software, less attack surface), easier to update.

    • JJGadget@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      This right here. get something cheap, throw opnsense or pfsense on it and start learning. It will probably be incredibly frustrating at first but when it starts to click then it is really fun and rewarding.

      I bought an old dell r210ii years ago and threw pfsense on it then swapped to opnsense and could not be happier. It is still in use today, a good 6 years later.

      • Semi-Hemi-Demigod@kbin.social
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        I did mine by just adding some iptables rules to set up NAT. It’s all of four commands:

        echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf

        iptables –t nat -s 192.168.0.0/16 –A POSTROUTING –o $wan0 -j MASQUERADE

        iptables –A FORWARD –i $wan0 –o $lan0 –m state --state RELATED, ESTABLISHED -j ACCEPT

        iptables –A FORWARD –i $lan0 –o $wan0 –j ACCEPT

        Just set $lan0 and $wan0 to your LAN and WAN interfaces. For wifi I’ve got a couple Unifi access points around the house for good coverage.

        Yes, I know IPv6 is better and yadda yadda yadda but I can’t remember the addresses let alone type them so I’m not changing anything.

        • d13@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I did this as well, but I’m wondering if it was the wrong call. It’s harder to work with firewalls (particularly if docker is involved), and I’ve struggled with stuff like SyncThing.

          Most likely more learning could solve it, but I wonder if I should switch to a dedicated router OS where more support resources are available.

          • Semi-Hemi-Demigod@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I’ve got almost all of my services running on a separate, bigger system and only have a couple ports open on this one. Iptables isn’t too hard once you understand the shorthand.

            • d13@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              I think my problem is trying to run docker at the same time. Docker messes heavily with iptables and makes it a real pain.

              • Semi-Hemi-Demigod@kbin.social
                link
                fedilink
                arrow-up
                2
                ·
                1 year ago

                The only docker containers I run on my router are a simple search proxy and an Infrared instance that routes Minecraft server connections to another box on my LAN. But IIRC that took a bunch of fiddling

        • Jivebunny@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          As fast as the slowest denominator in your LAN. So give the PC that you’re going to host this on a decent Ethernet card and you should be flying.

    • Kushan@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I wish they had more 2.5G or even SPF+ options in this range. I’m lucky enough to have a >1gigabit home connection but router options are surprisingly limited if I want that full connection speed going to my server

      • girsaysdoom@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        They do have the XG series. I actually have a SW-16-XG for the backplane on my server for my SAN. Local access 10G using SFP+ ports are definitely doable if you don’t need to cross any VLANs or do any routing.

        I haven’t used one personally but the cheapest they have is the Flex-XG switch it seems, which seems pretty cheap for 10G.

        • Kushan@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Yeah if it was just a switch I’d be fine, but for gateway/firewall options it’s a bit of a bugger unless I want a 1U device

          • girsaysdoom@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Ohh, sorry I misread your comment. Yeah, 2.5G WAN is a little trickier unless you go with something enterprise grade it seems.

    • Uninvited Guest@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      This is interesting, I hadn’t seen this from them before and I’m in the market for a new router! Does this play nicely with additional access points?

      • Oderus@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        They work with existing Ubiquiti AP’s no problem. I have the Dream Machine (I guess Dream router now) and it’s awesome. Wish I got the Dream Machine Pro which is switch-like and comes with no AP’s so you have to add them as needed and it supports cameras.

        • glue_snorter@lemmy.sdfeu.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          They don’t supply PoE, mind.

          I’m planning an ubiquiti deployment:

          • 5-6x AP 6 Pro (haven’t done survey yet)
          • 1x TL-SG1016PE PoE switch (yuck, but cheap)
          • 1x R86S running opnsense and docker VMs, with unifi controller and pihole in docker

          The R86S is the same price as the dream machine, but good luck running pihole on the DM.

          I considered Mikrotik, but my mum would have to call me every time there was an issue, and it would only be marginally cheaper. I expect any competent local tech to be able to support unifi and opnsense.

      • girsaysdoom@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I have an older version but I think they all work pretty much the same. It should work fine for you depending on the brand/voltage of the APs you have currently.

        • Uninvited Guest@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I have a couple Asus CT8’s that are dying on me, so I’d like to see if I can turn them in to AP’s. While I’d eventually like to get on to an OpnSense box I need a near term solution (as that will be a steep learning curve for me).

          Is there a resource available that documents compatability?

          • girsaysdoom@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            I’d say they should work fine if you can disable the routing and have them act just like WiFi access points. Then connect the LAN ports to the Ubiquiti and you should be good. That said, I’m not familiar with those devices so take this as you will.

            The only compatibility issues I was thinking about was PoE-related mainly but those look like they need their own power supplies. Ubiquiti used to push a nonstandard PoE spec with some of their APs but I don’t think that’s the case anymore.

    • jemikwa@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      My only complaint is that coming from a networking background, Ubiquity’s OS is awful and makes me want to gouge my eyeballs out. Navigating the interface to find settings makes no sense, it’s not very granular in how you can configure certain filtering settings, dual wan setups are difficult to manually change over, and good luck looking at logs to troubleshoot any traffic flow issues (hint: you can’t).

      For someone who just needs a firewall and a VPN endpoint, it’s great. If you need anything more than that, get opnsense/pfsense. Pairing one of those with Ubiquity APs (which are actually pretty terrific) is a really solid setup.

      • Bakkoda@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        I just retired an Edgerouter lite for a UDM Pro. Finally happy with it after moving on to the 3.x firmware.

        • fraydabson@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Glad to hear it. I went from edge router to usg and haven’t seen anything since to move to. After all the problems I was hearing about UDM I didn’t end up trying it

  • CapillaryUpgrade@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

    You already have some good suggestions, so i just want to mention openWRT which can be flashed on off-the-shelf router combo (just check their supported devices first, if you go this route)

    • Zozano@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Love OpenWRT!

      As a networking noob I spent more than a week configuring it to get it right, including needing to SSH into it because I flashed the wrong firmware (do not get NA and EU confused, the difference is enough to flat line your modem).

      But in the end, I eliminated my bufferbloat with SQM; a feature the stock device lacked. I also set up a USB to act as expanded storage to install more software.

    • vividspecter@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      It also works on x86 and has better bufferbloat mitigation than the BSD based router systems (*sense), which means lower latency/pings under heavy WAN (internet) load.

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      My TP-Link ER8411 can’t be flashed with OpenWRT even though their software is based on a very old version of it. :(

      I have 10Gbps internet and can’t find any 10Gbps routers that support custom firmware. Building a pfSense system that supports 10Gbps would be much more expensive and use more power than a router that has a purpose-built SoC.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I don’t have space for full-depth rackmount hardware - I just have a small shallow networking rack.

          From the video, it sounds like this device can’t actually achieve 10Gbps in real life. At 46:44 in the video, he says that he got 6.5Gbps with the firewall enabled and one firewall rule, and at 47:15 he said that NAT download speed (i.e. what you’d experience with an actual internet connection) was only 4.2Gbps.

          I get full speed through my ER8411, and it was cheaper than this device too ($350). I’m annoyed by a lack of IPv6 features, but it does achieve full 10Gbps speeds at least.

  • sj_zero@lotide.fbxl.net
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Pfsense or opnsense are really powerful options.

    You’ll need a wireless access point as well, but those two are quite powerful and can run on quite powerful hardware.

  • monotux@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    servethehome.com has a series about these fanless, multi-gigabit firewall for a while, might be interesting if you have a 200-300 USD budget?

    https://www.servethehome.com/tag/firewall/

    I’ve used a very similar setup in the past (J1900 CPU, 4x1 Gbps network ports) and I only replaced it due to reasons. Not noticed any performance bottle necks with that setup.

    The latest N100/N200/N300/N305 CPUs from Intel looks really interesting, similar performance as my workstation but at a 10th of the power usage. N305 also has 8 cores in a passively cooled case, amazing stuff!

  • thejoker8814@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    I cannot recommend any consumer router brand, at least not with stock firmware, because any of them don’t have guaranteed update policy. Further, some of the stock firmware contains insecure protocols, like telnet (yes, still), outdated ciphers (SSL, TLS 1.0), and some feature you want is always missing. Further they often lack innovative features like WireGuard in updates, mostly bug fixes and security patches.

    That’s why I would urge you to consider using one of the router/ gateway distributions listed below.

    Depending on your requirements, I can recommend the following router OS:

    • OpenSense (router without WiFi)
    • OpenWRT (router with WiFi)

    If you have an old laptop or pc to spare, you could at least give those two a try.

    Someone already mentioned it, OpenSense runs only on x86 / PC Hardware (and MiPS). OpenWRT can be flashed onto a lot of consumer routers as well as be installed on traditional x86 / PC hardware.

    OpenWRT has a hardware table on their website for supported models. Some of them come cheap if you buy them used and are pretty decent.

    If you like more flexibility, I can recommend building your own router. Used thin clients, Iike for example Fujitsu Futro S920. Thin clients are basically low-powered PCs, which are often cheap on the used market and provide a variety of hardware interfaces. Most use Intel NICs, some have secondary NIC, can hold SATA disks, provide interfaces for WiFi (pice, miniPCIe, m.2) or extension cards, have high efficient power supplies and are in majority are passive cooled. Or get some SBC/ Low-Powered board with the interfaces you need. It doesn’t need to be new hardware.

    • peregus@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I second OPNsense and Fujitsu Futro S720/920 (from €20/30 on eBay) with secondary NIC (or even router on a stick with VLAN enabled switch). I’d leave WiFi to a dedicated AP.

  • Feliberto@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I don’t know if it’s the best one, but I’ve been using Mikrotik Hex S for years and it’s been a great experience so far.

  • CriticalMiss@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    It all depends on the features you want in that router and how much you’re willing to spend. I bought a MikroTik hAP ax3, which has many enterprise features (that can come handy to us selfhosters as well) that I found myself not necessarily needing, but definitely enjoying.

  • Eris@l.os33.co
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Mikrotik hex are stupid cheap for the speed and features you get

    • glue_snorter@lemmy.sdfeu.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Big fan of Mikrotik, but it helps to have some experience.

      Haven’t tried hex, but RB2011 would be my default recommendation, and I’ve seen RB4009 for ~£120 (bargain of the century!)

    • irotsoma@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Anyone tried out the L009UiGS-RM? Seeing that it could also run my pihole seems like a big advantage. My edgerouter lite is getting old.

  • monotux@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I’m using a ~30 USD thin client with a 4 port networking card (~20 USD), just using plain nftables on Debian. It routes handles my network just fine (complex rule set with many subnets & rules, 250/100 Mbps connection). Also using codel/cake for traffic shaping, avoiding lousy ping times even when downloading/streaming et c.

    I use two TP-Link EAP 245v3 (ancient by now, but I can still use all my WAN speed from all rooms) for WiFi. Works great.

    If I would redo it I’d use VyOS, OpenWRT or maybe OPNSense, but still using x86 hardware due to cost/power usage/performance. And then newer ceiling access points.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    AP WiFi Access Point
    DNS Domain Name Service/System
    NAT Network Address Translation
    PiHole Network-wide ad-blocker (DNS sinkhole)
    RPi Raspberry Pi brand of SBC
    SAN Storage Area Network
    SATA Serial AT Attachment interface for mass storage
    SBC Single-Board Computer
    SSH Secure Shell for remote terminal access
    SSL Secure Sockets Layer, for transparent encryption
    TLS Transport Layer Security, supersedes SSL
    Unifi Ubiquiti WiFi hardware brand
    VPN Virtual Private Network

    13 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

    [Thread #26 for this sub, first seen 11th Aug 2023, 15:25] [FAQ] [Full list] [Contact] [Source code]

  • thepianistfroggollum@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    I just got a MikroTik RB5009UPr+S+in and I’m loving it so far. I’m going to pair it with their AX ceiling wireless AP if I can ever catch it on sale again.

    • Pulsar@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      I think this is the best homelab router out there. If you are new to Mikrotik there is definitely a steep learning curve.

      Openwrt is fairly good too, but I think documentation can be lacking and confusing for some edge applications. My other concerns with openwrt is performance since it is compatible with a wide variety of hardware is difficult to know how it will perform without testing it.

  • grimer@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    I’ve had amazing luck with the Synology routers. You can start with one then if you want/need you add more to create a mesh network. I find the interface easy as well. My 2 cents of course…

    • Wintermute@lemmy.villa-straylight.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Another vote for Synology here. I have 2 RT2600 and 1 RT1600 between myself and my parents houses. They have been completely bullet proof and the oldest one is going on 7 years old now.

  • Kir@feddit.it
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    I’m a noob, but I’m running a Frirzbox router and it seems great to me. 0 problem in configuration and happened to have lots of useful features now that I’m exploring self hosting (it support woreguard VPN natively and have automatic wakeonlan feature for my server)

    • 486@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I always found the software updates of AVM - the manufacturer of those "Fritz!Box"es - to be of questionable quality. If you take a look at the source code that they have to release upon request of the GPL’ed source code they use, you’ll notice that they use ancient versions of the Linux kernel, Busybox and other tools. By ancient, I mean many years old, unsupported by upstream for years. Also, they only publish those sources manually when someone asks for them, which doesn’t bode well for their internal development processes. If they used CI/CD pipelines, they could easily push out updates of those sources with every new release…

      • dan@upvote.au
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Same with a lot of manufacturers, unfortunately. This is not uncommon. The manufacturers get the base software from the manufacturer of the SOC (system on a chip) used by the router. This software is usually from when the chip series was first in development, and they never update it.

        TP-Link make great hardware that works well, but even their newest routers are based on a version of OpenWRT from 5+ years ago with a Linux 4.x kernel.

        • partizan@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          but what is nice, many tp-link hw can run regular openwrt, which is way better than the thing they provide…

          • dan@upvote.au
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I don’t think their Omada routers support OpenWRT, unfortunately :(

            • partizan@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              The Omada probably not. But many other tp-link routers support it, especially the low spec ones. I mean, if we are getting to something more performant and feature rich, there are probably much better options, like Turris Omnia, some Microtik stuff and many other.

    • redballooon@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      I’m a professional in software development, sometimes tasked with administration stuff.

      At home I love my FRITZ!Box. The only thing I’m missing is DNS rewriting, but I can work around that. If you don’t know what that is you don’t need it anyway.

      • Moonrise2473@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Another thing I don’t like about my fritz box is that the DHCP server for some reason assigns a single DNS server to the computers in the network