I have several selfhosted services that I have been using for months, now I wish to access these while I am not at home. Likes of nextcloud, nocodb, wikijs and other media sharing self-hosted services

I would like to know what precautions should I take so no one knows that such a domain exists.

should I purchase a crazy numbered domain like 671341412312.com ? or should I go for .tk domains.

Would like to get some suggestions from this community on other aspects that I am missing.

  • pchrisl ( pchrisl@alien.top ) B
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 years ago

    VPN is the way to go. Could use this opportunity to upgrade your router. I bought a box from protectli and run OPNsense on it. There’s good documentation on how to set up a wireguard vpn, and the community is vibrant.

    Its also nice because there’s lots of options so its a nice thing to grow and learn with.

  • Bytepond ( Bytepond@alien.top ) B
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Use cloudflared and Cloudflare Zero Trust / Access. You tunnel your services to Cloudflare, who then secures them behind a 2FA wall. No traffic ever goes to anyone aside from you.

    • r4nchy ( r4nchy@alien.top ) OPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      I never really understood the concept behind their free domains, but I never purchased a free/cheap domain after my first experience of getting charged 2-3 times for renewal.

      However, are you talking about deletion of your personal data or your website data ?

      • beje_ro ( beje_ro@alien.top ) B
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 years ago

        Personal data.

        They also moved a free domain that I have let expire to the paid ones, so if I wanted to renew I would have to pay… Which is kind of fair… They should also make money from somewhere…

        When buying a domain read all the details: renewal fee are mentioned there. For me they were turnoffs in some cases.

        I now have a .ovh as a cheap alternative. Iirc they are dirt cheap when you reserve the domain for 3 years…

  • jaredearle ( jaredearle@alien.top ) B
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Getting an obscure domain name doesn’t matter as attackers go straight to the IP address. If you have a certificate on your secret domain name, they have your domain the moment they hit port 443.

    Don’t use “security through obscurity”; instead just secure your services or host a VPN.

  • jbarr107 ( jbarr107@alien.top ) B
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    This is my policy: For publicly accessible services like a website, I use a cloudflare tunnel. For restricted access to just a few users, I use a cloudflare tunnel and a cloudflare application to manage access authentication. For my exclusive restricted access to the infrastructure, I used tailscale.

  • FatalV0rt3x ( FatalV0rt3x@alien.top ) B
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Couldn’t you just get a regular domain and use a firewall to prevent access, so only your IP address(s) are able to access it.

    I’m currently doing this myself, however I have a VPN on my local network that allows me access to my self-hosted service remotely as if I was at home.

    There are other things you can do with cloudflare that will lock the sites down with authentication, but VPN and firewall have worked pretty well for my use cases.

  • soulimonster ( soulimonster@alien.top ) B
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Free domains such as .tk or .cf are scanned by various bots as soon as they are created. I remember when I created a domain and forwarded it to my server. The spam and attacks that subsequently hit my server were very high. Significantly higher than with a domain that I paid for.

    I therefore strongly recommend staying away from these free domains.

    Good luck with your project :)