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!

    • china🇨🇳@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 months 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.

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        28
        ·
        edit-2
        4 months 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.

        • china🇨🇳@lemmy.caOP
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 months 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
            1
            ·
            4 months ago

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

  • StaticFlow@feddit.uk
    link
    fedilink
    English
    arrow-up
    16
    ·
    4 months ago

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

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    4 months 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
    9
    ·
    4 months 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.

  • Petter1@lemm.ee
    cake
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 months 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

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    4 months ago

    You can use Tailscale, you can access your personal services with it but also expose public services with their Funnels system.

    Keep in mind that while the clients are open source, their servers are running proprietary software.

  • Destide@feddit.uk
    cake
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    If this is just for personal use, I’d see if you can put their router in modem mode and go get a better router, then I’d just use tail-scale or WireGuard.

      • Destide@feddit.uk
        cake
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        It’s amazing additionally you can run Mullvad through it that might solve your public IP issues but I only run my services for me and my house

  • irotsoma@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 months 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.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    my current ISP refuses to provide me a static IP

    So then use dynamic dns? HurricaneElectric offers DynDNS now and it’s great. You can update it right over curl if you want. I have it mapped to a cli function;

    ~\downloads
    ❯ ddns
    HTTP/1.1 200 OK
    Cache-Control: no-cache, must-revalidate
    Content-Length: 18
    Content-Type: text/html
    Date: Tue, 25 Feb 2025 09:24:18 GMT
    Email: DNS Administrator <dnsadmin@he.net>
    Expires: Wed, 25 Feb 2026 09:24:18 GMT
    Server: dns.he.net v0.0.1
    
    nochg {ip}
    
    • china🇨🇳@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      It’s not only not static It’s firewalled too! I can’t ping it from outside the network

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Oh, damn. Not much you can do then. You may be eventually be able to get something outrageously complicated to work, but honestly it’s just plain not worth it. Just get a cheap VPS.

        Best you could do is a forward server with tailscale and a reverse_proxy, but I’ve never had any real luck getting that type of setup to work reliably.

      • mbirth@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Did you configure NAT to the service(s) and/or DMZ to your internal server in your ISP’s router?

        Not allowing even ping seems like it is against any sane networking configuration.

  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months 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.