Greetings,

my current ISP refuses to provide me a static IP and they also blocks incoming connection to my ipv6 so I can’t host services on just ipv6 too. I will be changing my ISP when the plan expires.

without public IP I can host my own IRC bouncer but I would like to know what else can I self host? Thanks in advance!

  • Petter1@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    ·
    6 days ago

    You can self host anything like this, all you need is buying a domain and set something up like DynDNS which updates the entry of the domain with your new IPv4 as soon as it changes.

    I would recommend to not open your services to public, but set up a wireguard (or other VPN) endpoint in your home, which you then use to access all your services.

    I think, an alternative to that would be some servicees from tailscale or cloudflare, I suppose

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    7 days ago

    Put everything behind Tailscale or another VPN and use it that way from outside devices. There should be very little need to have a public IP, and if there’s something that has to be exposed, use ngrok, cloudflared or Tailscale Funnel.

  • Voroxpete@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 days ago

    I just use a DDNS updater. That’s honestly good enough for most purposes.

    Alternatively, you could use a service like Zerotier, Tailscale or Netbird to create a virtual private LAN connection to a free Oracle VPS, then route the traffic from the VPN to your home network.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    7 days ago

    Rent a VPN, setup a wire guard tunnel and fuck your ISP!

    Anyway having a real public IP on a residential block is basically impossible anywhere but in the USA, I guess.

  • irotsoma@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    7 days ago

    Use VPN or DDNS connected to your domain registrar. Of course DDNS might not update immediately, especially if your domain host is not the same as your DNS provider, so you might have outages for short periods when your IP changes. So, depends on if you’re OK with that or what kind of connection you have and whether it changes your IP a lot.

    Also, might be able to get an IPv6 address for free depending on your ISP or at least you can set up your router to request that your address block is retained for you. I know Comcast does this. Unfortunately, my ISP does not.

  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 days ago

    I use a cheap VPS and connect all my relevant devices to it via a VPN (aldo self hosted w/ wireguard). It’s $5/month and does the job.

    • Shimitar@downonthestreet.eu
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      5
      ·
      7 days ago

      Why do you need to make a question questioning OP needs, when he is looking for a solution to a problem?

      • vithigar@lemmy.ca
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        7 days ago

        Because of the XY problem. The problem OP is stating may not actually be the source of the issues OP is experiencing.

        Finding out what OP is trying to do will better inform a solution and may make the stated problem irrelevant.

      • bluGill@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        Because too often people are asking for a solution to the wrong problem. I can tell how to setup a car to drive from the Hawaii to Iceland, but odds are that is not your actual goal. (most often the correct answer is fly to iceland and rent a car, or perhaps just public transit in iceland. You can also put your car on a ship. It is possible to modify a car to drive on the ocean if that is really what you want to do)

          • bluGill@fedia.io
            link
            fedilink
            arrow-up
            1
            ·
            7 days ago

            I’m not stopping you. However make sure you understand what you want to do and why it isn’t recommended in general. It looks like an interesting project that I hope to read about sometime (hopefully not as a you sunk to the bottom of the ocean)

    • whoareu@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      7 days ago

      actually I was thinking about hosting my own fediverse service to own my data but I can’t do that without a static public IP and domain name.

      • superglue@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 days ago

        You actually want a cloudfare tunnel if youre going to do that. It protects your real IP. Hosting a fediverse instance will draw attention to your real IP eventually otherwise.

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        37
        ·
        edit-2
        7 days ago

        As long as you’re not behind CGNAT, you can use a dynamic DNS provider (like duckdns.org) and its web API to keep a record pointed at your IP. If you’re behind CGNAT, Tailscale also has a service (Tailscale Funnel) that can expose an internal service to the internet.

        You could also pay for a small VPS with a static IP, and set up a Wireguard tunnel to your home server and an HTTPS proxy to forward traffic through the tunnel.

        Also, just in general, use Tailscale. It’s serious black magic fuckery on the firewall.

        • Confused_Emus@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          5 days ago

          I tried using DuckDNS for a while for DDNS, but noticed it seemed to have frequent periods of a few minutes each when it just wouldn’t resolve. Also was unable to get a matrix/synapse setup working behind it. It’s handy as a free service and nice if you just need basic DDNS, but it’s not the most reliable for hosting stuff from my experience.

          I eventually settled on buying my own domain. Was much cheaper and easier to figure out DNS management than I was expecting, and my hosted services run so smoothly now.

          Edit RE: downvotes: fuck me for sharing my experience? Kinda thought that was the point of this community…

        • whoareu@lemmy.caOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          7 days ago

          Yeah I am behind CGNAT so I guess I have to use either Tailscale or wireguard as other users also suggested.

          Thank you for the reply!

          • ChilledPeppers@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 days ago

            Just to chip in, cloudflare tunnels are a thing and also transverse CGNAT. Or you could use LocalXPosed, and other sevices like that.

      • SK@hub.utsukta.org
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        7 days ago

        @whoareu cloudflare tunnel can easily help you do that. the only limitation is your domain will need to be from cloudflare. It works well, I am hosting an instance without any public IP and without exposing any ports.

        • lordnikon@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 days ago

          Your domain need to be tied to cloudflare you don’t need to buy one from them. I just moved mine to them didn’t pay them a dime

  • StaticFlow@feddit.uk
    link
    fedilink
    English
    arrow-up
    21
    ·
    7 days ago

    Self host all your stuff and use tailscale if you just want to provide private services to yourself