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!

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days 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}
    
    • whoareu@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

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

      • mbirth@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 days 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.

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 days 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.

  • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    The best way would be to use a VPS to proxy your traffic to you. You can achieve this for pretty cheap, just set up an wireguard tunnel to a cheap VPS. That’s exactly how I access all my services from outside my home. As long as the VPS has a publicly accessible IP (most of them do), you being behind CGNAT should not be an issue.

  • webghost0101@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    I believe duckdns has a tool that checks your public ip on a schedule to update your subdomain. (Which they provide for free last I checked)

    • Valmond@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

      That would solve not having a static IP, not solving having no port forward right?

      • webghost0101@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 days ago

        You usually only need to specify the internal host ip to setup a port forward. It should forward that to whatever the public ip is at the time.

        If the isp is providing the model/router and generally being oppressive i highly recommend researching if you can place your own router behind it.

  • nitrolife@rekabu.ru
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    Look:

    1. you can buy any VPS server or use free VM in Amazon cloud
    2. then connect your home PC to this VPS with VPN tunnel After that you have public IP address (on VPS) linked with you home server.
    3. configure VPS for pass through incoming ports to you home server After that you can host anything for anyone in v4 or v6 internet.
    • whoareu@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 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.

      • SK@hub.utsukta.org
        link
        fedilink
        arrow-up
        0
        ·
        19 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
          0
          ·
          19 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

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

        • whoareu@lemmy.caOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          19 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
            0
            ·
            18 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.

        • Confused_Emus@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          19 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.

          • Quokka@mastodon.au
            link
            fedilink
            arrow-up
            0
            ·
            12 days ago

            @Confused_Emus @rtxn Figuring out DNS is always fun.
            And never ever ever make any, even small, DNS change on a Friday. Unless you don’t like weekends.
            Is it time to break out the DNS haiku and pray to the name gods?

      • superglue@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 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.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    I mean you can host anything. It’s just not reachable from the outside. And Fediverse or anything that gets data pushed in, won’t work. The common thing to handle this is to use some tunnelling solution.

  • StaticFlow@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

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

    • Krik@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

      They’ll shut it down if you send more than a few megabytes down that tunnel. It’s ok if you just need a connection (for ssh and stuff) but anything that generates a lot of traffic will be blocked.

  • Destide@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days 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.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days 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.

    • lorentz@feddit.it
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

      I started using headscale (the opensource reimplementation of tailscale server) on a private vps. It is incredibly better compared to plain wireguard. I regret waiting so much before switching.

      Something that really made my life easier: wireguard is poor at roaming: switching to and from my wifi created issues because the server wasn’t reachable anymore from its public ip and wireguard didn’t bother to query the DNS again to check the new IP. Also, configuration is dead simple because it takes care of iptables for you (especially good when you enables forwarding to a node).

      Since the server just sends small messages for the control plane and all the traffic is p2p between the devices, the smallest vps with the smaller connectivity is more than enough to handle it.

  • _cryptagion [he/him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

    Literally anything you want. You don’t need a static IP, any dynamic IP with a software updater will work. For example, I have some public sites proxied through Cloudflare, and I use the DDNS updater for Docker that keeps my DNS correct.

  • bdonvr@thelemmy.club
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

    I just have a script that checks my IP every few minutes and changes the DNS record as necessary

      • vithigar@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        19 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
        0
        ·
        19 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)