Someone

  • 8 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: March 12th, 2024

help-circle

  • foremanguy@lemmy.mltoSelfhosted@lemmy.worldWhere do I start with networking?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    16 hours ago

    Firstly the best way would normally be to have a separate switch and router.

    The router only having 2 ports WAN and LAN. And then get a great MANAGED switch for your lan.

    For your router basically any old x86 PC loaded with OPNSense would be great.
    The network card you will buy depends of your internet speed.
    (And try to find Intel chip network card)

    Next for the switch, definitely get a managed switch (you won’t regret it).
    The number of ports depends on your needs. Basically a 8 ports could be just enough or maybe very too little.
    That really depends.
    For the switch port speed it again really depends. Do not get 100Mb switches at least. But the sky is the limit.
    1G is plenty for a lot of people. But 2.5G could be good too. (In my opinion 10G is overkill for most of the people)
    The problem is that switches prices are exponential with the speed. You can get really good 1G for cheap. More difficult with 2.5G and impossible for 10G.
    And lastly PoE or not PoE that’s the question. I would say a huge NO (except specific use cases). If you got 20 cameras, 38 motion sensors and 76 APs, YES a PoE switch is a good idea.
    If you have a small amount of PoE devices, simply buy a cheap unmanaged PoE switch.
    If you only have one or two of them, just buy injector.

    If you have any questions concerning a brand or anything else feel free to ask

    EDIT : formatting








  • I want to protect my home services, so when accessing my domain it goes trough the vps and you only knows its IP (a datacenter IP) but for my friends and family I don’t need this protection so they are accessing my home with a VPN connection and btw they are using the vps to make requests and so protect their privacy.

    The simple solution (since my services are publicly available), would be to route all traffic coming from my friends trough my home and then through the vps. But I don’t like this idea since it would add a lot of latency and useless traffic since the client is already going trough my home…

    So my question is how could I route directly to the client the local services and let go through the vps the rest of the traffic?