My lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
udc@lemmy.world to Selfhosted@lemmy.worldEnglish · 1 day ago

How to Setup a Secure Ubuntu Home Server: A Complete Guide

www.davidma.co

external-link
message-square
19
link
fedilink
1
external-link

How to Setup a Secure Ubuntu Home Server: A Complete Guide

www.davidma.co

udc@lemmy.world to Selfhosted@lemmy.worldEnglish · 1 day ago
message-square
19
link
fedilink
How to Setup a Secure Ubuntu Home Server: A Complete Guide | David Ma
www.davidma.co
external-link
Learn how to turn an old PC into a secure home server with this guide.
  • martinb@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Passwordless login only. No root login. Fail2ban. Add ufw to stop accidental open port shenanigans, and you are locked down enough

    • Botzo@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      24 hours ago

      We can go harder: port knock to open the port to a cert-only VPN (on top of all that)

      https://wiki.archlinux.org/title/Port_knocking

      • martinb@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        21 hours ago

        Felt a bit like a faff to me, so I never bothered. Does depend upon your threat model though

    • StrixUralensis@tarte.nuage-libre.fr
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Passwordless login only

      Never understood this

      I don’t think that anyone or anyrhing, computer or mentalist, will guess my 40+ characters long password

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 hours ago

        With ssh, over 90% of the vulnerabilities are abusing the password mechanism. If you setup pre-shared keys, you are preventing the most common abuses, including in the realm of zero days.

      • surph_ninja@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        24 hours ago

        Especially paired with Fail2Ban preventing any brute force attempts.

        But with a WireGuard setup, you need not have the port exposed at all.

      • etchinghillside@reddthat.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Are you setting and managing other’s passwords?

Selfhosted@lemmy.world

selfhosted@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

  • selfh.st Newsletter and index of selfhosted software and apps
  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 77 users / day
  • 222 users / week
  • 1.27K users / month
  • 2.67K users / 6 months
  • 0 local subscribers
  • 50.1K subscribers
  • 789 Posts
  • 9.39K Comments
  • Modlog
  • mods:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • CannaVet@lemmy.world
  • devve@lemmy.world
  • HybridSarcasm@lemmy.world
  • HybridSarcasm@lemmy.hybridsarcasm.xyz
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org