So I was looking into getting port forwarding set up and I realized just how closed-off the internet has gotten since the early days. It’s concerning. It used to be you would buy your own router and connect it to the internet, and that router would control port-forwarding and what-have-you.

Now, your ISP provides your router, which runs their firmware, which (in my case) doesn’t even have the option to enable port forwarding.

It gets worse - because ISPs are choosing NATs over IPv6, so even if you install a custom firmware on your router without it getting blacklisted by your ISP, you still can’t expose your server to the internet because the NAT refuses to forward traffic your way. They even devise special NAT schemes like symmetric NAT to thwart hole punching.

Basically this all means that I have to purchase my web hosting separately. Or relay all the traffic through an unnecessary third party, introducing a point of failure.

It’s frustrating.

I like to control my stuff. I don’t like to depend on other people or be in a position where I have to trust someone not to fuck with my shit. Like, if the only thing outside my apartment that mattered to my website was a DNS record, I’d be really happy with that.

Edit: TIL ISPs in the US don’t have NATs

Edit 2: OMG so much advice. My knowledge about computers is SO clearly outdated, I have a lot of things to read up on.

Edit 3: There’s definitely a CGNAT involved since the WAN ip in the router config is not the same as the one I get when I use a website that echos my IP address. Far as I can tell my devices don’t get unique IPv6 addresses either. (funnily enough, if I check my IP address on my phone using roaming data, there’s no IPv6 address at all). It’s a router/modem combo, at least I think since there’s only one device in my apartment (maybe there’s a modem managing the whole complex or something?). And it doesn’t have a bridge mode, except for OTT. Might try plugging my own router into it, but it feels like a waste of time and money from what I’m seeing. Probably best to just host services over a VPN or smth.

Edit 4: Devices do get unique IPv6 addresses, but it’s moot since I can’t do anything but ping them. I guess it wouldn’t be port forwarding but something else that I would have to do that my router doesn’t support

  • @Rognaut@lemmy.world
    link
    fedilink
    English
    16211 months ago

    In the US and I use my own personal modem and router. Renting their equipment is optional.

    • @NateNate60@lemmy.world
      link
      fedilink
      English
      4111 months ago

      Same here. I get $10 off for using my own router. That’s $120 off per year. A cheap router bought from a supermarket cost me $60. It works fine, the signal quality is only okay but my flat’s pretty small anyway. Getting your own router is just a financially sensible option.

      • @BloodSlut@lemmy.world
        link
        fedilink
        English
        511 months ago

        buying my own upper-midrange router still cost me less than renting from the ISP over a three year period

    • @TunaLobster@lemmy.world
      link
      fedilink
      English
      1611 months ago

      Not really with ATT fiber anymore. The fiber goes straight into their router to authenticate. There is no option for me to purchase an equivalent piece of equipment. I am forced to pay to use their equipment. Fuck ATT.

    • PHLAK
      link
      fedilink
      English
      1111 months ago

      Yeah, as soon as I read the second paragraph my thought was “buy your own router”. Problem solved.

    • @dsemy@lemm.ee
      link
      fedilink
      English
      211 months ago

      Can you recommend a good router that isn’t extremely expensive?

      I did some research about a year ago and started using a router recommended by both random users and reviewers (TP-Link Archer AX-3000 I think) only to quickly find out it had a bad QoS implementation which broke applications sending IP packets with certain DSCP values (SSH by default, Mumble, VoWiFi on an iPhone, WhatsApp calls) so I switched back to an ISP provided router unfortunately. When I talked to TP-Link support they sent me firmware which would have allowed them to connect to my router using telent (absolutely insane IMO, especially since other users also complained about this issue).

      Further research showed that many consumer-level routers have these kinds of issues, so I’m reluctant to try this again.

    • @BobGnarley@lemm.ee
      link
      fedilink
      English
      211 months ago

      Not for Spectrum it isnt, unfortunately. You can use your own router but you have to use their modem

  • slazer2au
    link
    fedilink
    English
    9411 months ago

    Yes CGNAT is used quite a lot, but consider 95% of customers don’t care what their public address is and that “saves” the carrier address space.

    We are the 5% that do care and if you call your ISP they likely have an option to exclude you from cgn and get an actual public IP.

    • @Rambomst@lemmy.world
      link
      fedilink
      English
      3911 months ago

      This. I have been with multiple ISPs that use CGNAT and all had a solution to allow you to self host, just need to contact them.

    • Kawawete
      link
      fedilink
      English
      811 months ago

      In France, with Free, you can get a real “full stack” IPv4 for free which is cool, I even cancelled my NO-IP subscription.

    • ⲇⲅⲇ
      cake
      link
      fedilink
      English
      411 months ago

      I am into tech/programming/devops, I make my own servers, but I would still prefer to be under CGNAT as I feel more safe. I wouldn’t open any port or tunnel to my local home network, I wouldn’t feel that safe. So for me, a CGNAT is perfect.

      • @MigratingtoLemmy@lemmy.world
        link
        fedilink
        English
        911 months ago

        Yup. I’ll open a port in a cheap VPS and tunnel my traffic over that rather than directly open ports on my router. If people here can trust Cloudflare they can use their tunnels too

        • ⲇⲅⲇ
          cake
          link
          fedilink
          English
          111 months ago

          Yeah, I would do that before exposing my router to public and opening ports, but for the tunnel I would use something like WireGuard into a virtual network at my home just to improve security. I’m not a fan of Cloudflare.

          • @MigratingtoLemmy@lemmy.world
            link
            fedilink
            English
            111 months ago

            Whatever works. I prefer OpenVPN/Softether for their SSL VPN implementations, and am too lazy to be arsed to deal with stunnel and Wireguard. But if you’re not as paranoid then Wireguard works perfectly fine

        • ⲇⲅⲇ
          cake
          link
          fedilink
          English
          111 months ago

          Why are you saying that? I know it’s not a firewall, I’m just saying it doesn’t expose your router directly to internet, most of the routers also have firewall, and you can DMZ or port forward that you normally turn them on once you expose your router to public so bots or people can make direct requests to your router.

      • slazer2au
        link
        fedilink
        English
        411 months ago

        And there is nothing wrong with that. Both systems work for different people. I am on the I like a public address on my place camp, but I have worked where we did cgn for an apartment building and out of the 150 residences none asked for a public address. Saving us a /25 which we could sell to business customers for $5/m per /29

      • @FMT99@lemmy.world
        link
        fedilink
        English
        211 months ago

        I have ports open (to receive backups from my other servers) but only to connections from specific ip addresses and only port 22 using a pub key (no password) I’d be hesitant to open port 80 to the public though.

        Then again I’ve run a small public web server for well over a decade and never had any issues with hackers.

        • ⲇⲅⲇ
          cake
          link
          fedilink
          English
          0
          edit-2
          11 months ago

          I’ve run a small public web server for well over a decade and never had any issues with hackers.

          It’s never late to get hacked or an attack or a problem with your ISP router firmware. I don’t think that’s an excuse.

          receive backups from my other servers

          You can simply do cronjob and scp user@server:/path/to/backup . to get things from server to your local network, I don’t see the need to expose your router to the public. For a web server, there are cheap VPS providers for less than 5 dollars a month, and you save up energy, hardware, and improve safety at home.

          • @lud@lemm.ee
            link
            fedilink
            English
            111 months ago

            Why use your ISPs router then? Just buy your own.

            And a webserver is probably the safest thing to put online.

            You can also put the server in a DMZ and or use reverse proxy’s and a bunch of other stuff.

            • ⲇⲅⲇ
              cake
              link
              fedilink
              English
              111 months ago

              I already have my own router, even if a web server is safer, you are still exposing your IP which is what I don’t want to do. DMZ doesn’t solve anything, is just worse than setting up a port forward as you are opening all the ports to the server at home, your server at home has access to all your network so once infected by any 0-day exploit, you are fucked up.

              I just hire online servers and I have my own Ansible playbooks to manage those servers, this way I don’t provide my real IP (my home) to anyone.

              • @lud@lemm.ee
                link
                fedilink
                English
                1
                edit-2
                11 months ago

                as you are opening all the ports to the server at home, your server at home has access to all your network so once infected by any 0-day exploit, you are fucked up.

                No, the entire point of a DMZ is to insulate a device from the rest of the network and you can (should) configure which ports that are forwarded to the DMZ, don’t just forward everything. You can (should) also configure a bunch of other normal firewall rules for the DMZ.

                Personally I don’t consider “exposing” your home IP to be a big deal. It’s just an IP.

                • ⲇⲅⲇ
                  cake
                  link
                  fedilink
                  English
                  1
                  edit-2
                  11 months ago

                  https://en.wikipedia.org/wiki/DMZ_(computing)#DMZ_host -> By definition, this is not a true DMZ (demilitarized zone), since the router alone does not separate the host from the internal network.


                  Home routers aren’t firewalls or something similar, they have some minimal logic that can act like a firewall, but they aren’t. There is no need to expose your IP, there are many alternatives to do stuff without exposing it.

  • @nutsack@lemmy.world
    link
    fedilink
    English
    47
    edit-2
    11 months ago

    i repeatedly petitioned our landlord (once a year) to allow an alternative isp to hook up to the building, and he eventually was so pissed from my requests that he threatened to press charges against me personally if the electrical box were ever opened

    • @theblueredditrefugee@lemmy.dbzer0.comOP
      link
      fedilink
      English
      2411 months ago

      My internet is included in rent. Which is convenient for day-to-day use but gives me less capacity for customization. Like, I admit it, the system works really well for normal people, I’m just a weirdo who likes tinkering with technology, hosting websites, and whatnot

      • ∟⊔⊤∦∣≶
        link
        fedilink
        English
        4611 months ago

        “My food is included in rent. Which is convenient for day-to-day eating but gives me less capacity for cooking my own meals. Like, I admit it, the system works really well for normal people, I’m just a weirdo who likes tinkering with recipes, hosting dinner parties, and whatnot”

        There, I highlighted the absurdity even more for you. You’re not a wierdo, you’re a tech-chef.

        • @theblueredditrefugee@lemmy.dbzer0.comOP
          link
          fedilink
          English
          2111 months ago

          lmao I like this.

          Honestly I feel like people should have a better understanding of how their technology works. Like if we just all lived in a post-scarcity society where all code was available on github and any time a program stops working for you you can just go in, fork the repo, make the change that fixes your problem. Blammo, your problem is solved as soon as you can write the code, and if anyone else has the problem they can use your change.

          One can dream

          • ∟⊔⊤∦∣≶
            link
            fedilink
            English
            211 months ago

            Well, people have been forking recipes forever. I’m sure we will get closer to that reality eventually

            • @UnRelatedBurner@sh.itjust.works
              link
              fedilink
              English
              311 months ago

              using more salt, or leaving out ingredients that one’s allergic to isn’t as hard as learning c++, understanding the codebase, knowing the external packages used, knowing your specific problem, knowing where to fix it, knowing how to fix it.

  • @heyitsmikey128@lemmy.world
    link
    fedilink
    English
    4711 months ago

    What ISP do you have and what country are you in? I have Comcast in the US and do not have this issue even though they are a big and shitty ISP (I even use their modem, but I do have my own router which I HIGHLY suggest).

    • @ChuckEffingNorris@lemmy.ml
      link
      fedilink
      English
      1811 months ago

      The older and shittier the ISP the more blocks of IPV4 addresses they have. They have blocks from when they were given out willy nilly.

      New ISPs, the ones that compete and bring the prices down have to buy addresses and that costs money and is a cost bigger and older ISPs do not have.

      This is a case for regulation - either mandating a move to V6 or mandating the release of stockpiled v4 addresses. ISPs will not do that on their own, the addresses can currently be sold for lots of money.

    • @redcalcium@lemmy.institute
      link
      fedilink
      English
      1711 months ago

      The US and other western countries don’t really feel the pressure of IPv4 scarcity yet. ISPs in other countries typically uses CGNAT or IPv6. Some even give you a routable IPv4 but may randomly replaced it with an ip behind their CGNAT when the lease is expired, giving you false sense of hope.

      • @NateNate60@lemmy.world
        link
        fedilink
        English
        811 months ago

        IPv4 address depletion isn’t really the ISP’s fault. It’s a shitty solution to a shitty situation, to be sure, but it’s either that or employing rationing strategies to stretch the remaining supply of IPv4 addresses.

          • @Chreutz@lemmy.world
            link
            fedilink
            English
            1011 months ago

            Many ISPs in Denmark actually charge you 30-40 DKK (4-7 USD) extra for the ‘luxury’ of IPv6, which is the same that they charge for publicly routable IPv4 (of course). I found that quite infuriating, so I searched around and found one that had public IPv4 and IPv6 included in the price. A little more expensive all in all, but I just hated the concept of IPv6 being an “extra” in 2023.

  • @mateomaui@reddthat.com
    link
    fedilink
    English
    3211 months ago

    I bought my own cable modem and router for less than what my ISP would charge to rent them to me. They control nothing on my end.

    • Rodneyck
      link
      fedilink
      English
      311 months ago

      Same, never use their equipment if possible, cheaper and you are in control.

      • @herrvogel@lemmy.world
        link
        fedilink
        English
        1011 months ago

        ? How would that even work? Does openwrt have a feature where it can hack into the ISP’s infrastructure and modify their QoS settings?

      • @mateomaui@reddthat.com
        link
        fedilink
        English
        7
        edit-2
        11 months ago

        I can do whatever I need to.

        edit: if it wasn’t clear, I didn’t buy them from my ISP, so my ISP had nothing to do with the firmware on it.

      • @ccdfa@lemm.ee
        link
        fedilink
        English
        211 months ago

        That’s not what modems or routers do. Your ISP sets your speed somewhere else, not at the modem/router level.

  • Corgana
    link
    fedilink
    English
    3011 months ago

    Apologies if you’ve answered this elsewhere but I’m assuming there’s a reason you haven’t bought your own router?

  • @TCB13@lemmy.world
    link
    fedilink
    English
    2311 months ago

    It gets worse - because ISPs are choosing NATs over IPv6,

    Yes, because they’re mostly pieces of shit, technically inept and unable to properly deploy IPv6 at a large scale.

    Either way IPv6 doesn’t fix everything as you’ll still need a real IPv4 to access a large part of the internet or some translation (MAP-T/MAP-E). Even if your ISP provided dual stack with a real public IPv6 + CGNAT / MAP-T IPv4 it would still be annoying as you wouldn’t be able to do port forwarding on the IPv4 and won’t be able to access your self-hosted services from a LOT of networks that are IPv4 only.

    There are two versions of MAP – translated (MAP-T) and encapsulated (MAP-E). In MAP-E IPv4 traffic is encapsulated into IPv6 using a v6 header before it is sent over the v6 network. At the network operator’s boundary router, the IPv6 header is then stripped, and the IPv4 traffic is forwarded to the v4 Internet. In MAP-T, the IPv4 packet header is mapped to the IPv6 header and back. The difference between the two options is evident in their names. MAP-E uses IPv6 to encapsulate and de-encapsulate IPv4 traffic, whereas MAP-T uses NAT64 to translate IPv4 to IPv6 and back.

  • r00ty
    link
    fedilink
    2311 months ago

    And this is why I’m unlikely to change isp. I have a /29 ipv4 block and /48 ipv6 block. No extra charge. Grandfathered features from over a decade ago.

      • r00ty
        link
        fedilink
        1111 months ago

        Yep. The ISP doesn’t offer it any more. They stopped, I think when RIPE officially “ran out” of new net blocks. But I’ve moved address twice so far and have kept the allocation. Well, on the last move they messed up and gave new a new single IP. I complained, and they asked why it matters so much to have my old IP. I pointed out I had a netblock, and they fixed it up pretty quickly.

        Pretty soon, full fibre will be in my area and available on the same ISP. So, hoping for a smooth transition to keep it for a bit longer.

  • @yamanii@lemmy.world
    link
    fedilink
    English
    13
    edit-2
    11 months ago

    Yep, the US reserved most of the ipv4 for them so they have no need for CGNAT, I had to change my ISP to host a terraria server for my friends because of it, but if you don’t live in a big city you have no options.

    I read that you can say to your ISP that you need port forwarding to use a remote camera system and they will make an exception for you, but I just switched since I even got a better speed deal.

  • kaupas24
    link
    fedilink
    1111 months ago

    I had a fun little issue a while back where my isp replaced our fiber modem to one that didn’t allow for port forwarding. The settings were missing but when I set up dmz host on that to allow our equipment to work again, I noticed it was behind some nat in their system. I found out I could call them to get functionality restored for a fee, but instead I plugged in the old box and still keep an external ip with port forwarding enabled and no nat. To be honest the old one has been a lot less stubborn as it doesn’t drop every 10th packet on the network. I switched back about 6 months ago, and I’ve not had any issues, so we’ll see when they call demanding me to plug in the new one. Their explanation for switching systems was that their old one wasn’t powerful enough for gigabit speeds, even though both have interfaces for gigabit sfp. After some testing, the old one was more capable and stable at those speeds. I assume they wanted to switch systems due to some licensing thing, or to get more money from the .5% of people who care about these features.

  • @TheInsane42@lemmy.world
    link
    fedilink
    English
    1011 months ago

    I’d advice to look into ipv6 tunnels and try to get that working. Abandon ipv4 when your isp refuses to ipv6.

    • Kbin_space_program
      link
      fedilink
      611 months ago

      You can. But it then has to route through their modem+router single piece unit.

      E.g. I have my own router which handles everything I need. But I switched ISPs recently to save 70$ per month, and the new company router has parts of its functionality, like turning off the wifi, built into their smartphone app and disabled in the admin panel.

      Also the username and password for the unit is, by default, admin/admin. In 2023.

      • @qqq@lemmy.world
        link
        fedilink
        English
        3
        edit-2
        11 months ago

        Don’t know you exact situation, but you should be able to bring your own modem (or modem/router combo) or put their provided unit into bridge mode

        • @SpeakinTelnet@programming.dev
          link
          fedilink
          English
          111 months ago

          Bridge mode still means you go through their hardware. I had issues with my ISP modem because even if it was in bridge mode I was basically ddos-ing it with my usage.

          In the end I got an sfp module that mimick being the modem and plugged the ISP fiber right into my opnsense box where the CPU was plenty.

          • @qqq@lemmy.world
            link
            fedilink
            English
            111 months ago

            Yes, but if you can’t get your own modem it’ll at least stop you from having your traffic slowed down by the router side of their hardware

            • @SpeakinTelnet@programming.dev
              link
              fedilink
              English
              111 months ago

              Even in bridge mode you can still be slowed down by the modem if its CPU can’t handle your traffic. That’s unless the isp modem offer a complete passthrough. That’s what was happening to me even in bridge mode where I was getting my own IP through pppoe. The modem couldn’t be made into full passthrough and was hitting 100% CPU.

      • @MomoTimeToDie@sh.itjust.works
        link
        fedilink
        English
        211 months ago

        Sounds like a (somehow even more) shit isp. I just tapped the “bring my own” when I signed up, and bought myself a modem/router combo at best buy.

  • @misophist@lemmy.world
    link
    fedilink
    English
    611 months ago

    In my country, the ISP rents you a modem and router. I told them I had my own modem and router during setup and my monthly cost is slightly less than their advertised price.

    I am fortunate that my ISP gives me a routable address, but it is still only dynamic and may change a couple times a year. I would have to pay for a commercial plan if I want a static IP. Some other local ISPs use carrier grade NAT, but you can still request a publicly routable static IP with a business plan. Maybe you can ask your ISP for that?

  • @DudeDudenson
    link
    English
    611 months ago

    In my country we just buy a router and ask the ISP to set the modem/router in bridge mode