• Mio@feddit.nu
    link
    fedilink
    English
    arrow-up
    1
    ·
    21 hours ago

    Wireguard VPN. I actually have a public hosted Oracle server that when authentic opens port 443 for that source IP temporary so no VPN will be needed. Computer visit free pub Oracle VM. Android Phone scan QR, start Wireguard and auth that user. Computer can now reach my home server on port 443 and 22 for 24 hours as the source IP is allowed.

    I do this instead of crowdsec etc. I expect zero days vulnerabilities that someone will utilize so dont trust nginx and ssh to be wide open.

    • soyslurper2@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      You have Authentik guarding your Wireguard key on a public server?

      I’m not sure how this is different from having Authentik on your home server, unless the point is to hide your IP address

      • Mio@feddit.nu
        link
        fedilink
        English
        arrow-up
        3
        ·
        13 hours ago

        Not Authentik, something home made. Wireguard is unfortunately open for the whole world but as far as I know there has not been any security whole in it. But Wireguard is at least a security product. It is not about hiding my public IP. It is about closing the attack surface. Bots cant connect to my home server at all. This means zero days vun cant be used. Yes, Oracle server can be compromises but it itself cant connect to my home server and it cannot authenticate any user as it does not have my phone to do that. It just generate an internal adress that is only accessible when connected with Wireguard. So only those I manually add have a chance and I will notice if the source IP is wrong or if it was not generated by that server as I use public key that is just base64 encoded url