News for hackers. Stuff that matters.
Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @01:01PM (#35044815)
> Everything on my network is going to go through my firewall anyway. I don't want anything on my network to be globally routable.

Globally routable ≠ globally connectible.

Your (stateful) firewall will still by default block any incoming connection attempts if they are not replies to an initial outgoing connection. It's just that it will no longer be necessary to go through the rigamarole of STUN, TURN, ICE, etc, that goes along with non-global addresses:

* https://en.wikipedia.org/wiki/Traversal_Using_Relays_around_...

Your end-user device knows its address and the address of the other connection point, and can tell the firewall to open a rule between only those two IPs:

* https://en.wikipedia.org/wiki/Port_Control_Protocol

* http://www.upnp.org/resources/documents/AnnexA-IPv6_000.pdf

Further, because you don't have only one external IP, you don't have to futz around with non-default ports if you want multiple instances of the same service (e.g., Minecraft), because each instance can have its own IP.

Further, if you want certain devices to not able to get outside: (a) give them static assignments and block them at the firewall, (b) don't give them a default route so they are subnet-local, or (c) give them site-local addresses via ULA and do not set up NTPv6 translation.

Re:I spent a week without IPv4 to understand IPv6 transition... by gxt on Monday March 06, 2023 @05:15PM (#35048515)
How does that protect privacy of the private network? I don't want to divulge any information about internal topology.
Re:I spent a week without IPv4 to understand IPv6 transition... by adgjlsfhk1 on Monday March 06, 2023 @05:38PM (#35048782)
what do you mean by topology? the only information leaked would be the number of computers making requests.
Re:I spent a week without IPv4 to understand IPv6 transition... by Faark on Monday March 06, 2023 @05:48PM (#35048889)
And what computer is making what requests. Now that i think about it, this cloud be the reason why youtube started making recommendations based on stuff i just watched in private browser tabs...
Re:I spent a week without IPv4 to understand IPv6 transition... by josephg on Monday March 06, 2023 @06:31PM (#35049380)
I have multiple computers in the house, mostly not logged in to Google. YouTube recommendations spill between devices all the time - like, if I watch a video on one device, I’ll see the same video recommended on another. Or if my partner watches something, YouTube will recommend it to me.

They’re obviously doing recommendations based on IP address. (And this is purely over ipv4).

Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @07:35PM (#35049945)
> They’re obviously doing recommendations based on IP address. (And this is purely over ipv4).

I have IPv6 at home and connect to Youtube over IPv6 (that's generally the default behaviour on macOS and many other OSes). I reboot my DSL modem-router every night and get a new IPv4 address and new IPv6 prefix every day.

Now: I live in Ontario, and my ISP is based in Ontario, but they serve clients in Quebec. Every so often, when surfing Youtube, I get served ads in French because according to my (IPv6) address I am "in" Quebec.

And, while I am not logged into any Google service, I do not block cookies. So even with cookies, Youtube seems to be fairly dumb about serving ads correctly just based on IP addresses (or at least IPv6 addresses and/or IPv6 prefixes), since cookies don't seem to be useful.

So I'm not quite sure about what people are talking about when they say "IPv6 tracking" if even Google/Youtube can't get their act together.

Re:I spent a week without IPv4 to understand IPv6 transition... by zeristor on Tuesday March 07, 2023 @04:00AM (#35053211)
I live just outside London and have been wondering why I’ve been getting ads from More4 for Wales and Cardiff.

Iechyd Da!

Re:I spent a week without IPv4 to understand IPv6 transition... by Springtime on Monday March 06, 2023 @09:10PM (#35050635)
> They’re obviously doing recommendations based on IP address

eBay uses IPs showing content, too. I see 'items you've viewed recently' show items I've never looked at, since when on a mobile connection my IP changes fairly frequently and eBay carries over the recently viewed state from whoever else was previously using that IP.

It had puzzled me until I came across this[1] eBay topic where others had experienced this, from shared offices to spouses, etc.

[1] https://community.ebay.com/t5/Share-eBay-Technical-Issues/Re...

Re:I spent a week without IPv4 to understand IPv6 transition... by throitallaway on Monday March 06, 2023 @05:52PM (#35048940)
Look at what Android does with MAC address randomization on wireless networks. We will probably see something similar with IPv6.
Re:I spent a week without IPv4 to understand IPv6 transition... by CaliforniaKarl on Monday March 06, 2023 @06:07PM (#35049121)
> We will probably see something similar with IPv6.

It's been available for some time: https://www.internetsociety.org/resources/deploy360/2014/pri...

On my macOS system, I currently have four IPv6 IPs (excluding the link-local IP), all of which are random.

Re:I spent a week without IPv4 to understand IPv6 transition... by gerdesj on Monday March 06, 2023 @06:47PM (#35049545)
Not just Android. My laptop does it too (NetworkManager). That's just IPv4 on devices designed to travel so it seems a fair thing to do. Bloody pain to diagnose why a static DHCP lease isn't working the first time, after that you find the mechanisms to turn it off. Nearly everything does it for IPv6, for a given value of everything!

For decades we have generally allowed all outbound and worried and fretted about and filtered inbound. I think it is time for us all to get a grip and do the job properly. However, with the delights of DNS over http and the like, the horse has not only bolted but has a new paint job, far better shoes than you can afford, eats grass that was prepared by a Michelin starred chef and belongs to someone else now.

We all need to be far more sophisticated about how traffic (knowledge/ideas/data) flows in and out of our networks/lives. Packet filtering is just one tool in the box and worrying about an addressing scheme being global (IPv6) instead of a weird hybrid (IPv4) is completely missing the real issue stabbing you in the nadgers.

Re:I spent a week without IPv4 to understand IPv6 transition... by CaliforniaKarl on Monday March 06, 2023 @05:50PM (#35048916)
That's a very strong claim to make. I'd appreciate if you could provide a source to that statement!
Re:I spent a week without IPv4 to understand IPv6 transition... by ipaddr on Monday March 06, 2023 @06:04PM (#35049089)
Your chrome build id is available in both areas. Not really a secret.
Re:I spent a week without IPv4 to understand IPv6 transition... by CaliforniaKarl on Monday March 06, 2023 @06:09PM (#35049139)
I'd be really surprised if I've got a chrome build ID on my browser.
Re:I spent a week without IPv4 to understand IPv6 transition... by lloeki on Monday March 06, 2023 @05:50PM (#35048918)
that's not even true with slaac temporary (a.k.a privacy) or secured addresses.

the only thing you'd "leak" is the prefix, which is no different than a IPv4 WAN address that you'd get with a v4 NAT.

Re:I spent a week without IPv4 to understand IPv6 transition... by gxt on Monday March 06, 2023 @05:52PM (#35048931)
That is information about the topology.
Re:I spent a week without IPv4 to understand IPv6 transition... by CaliforniaKarl on Monday March 06, 2023 @06:25PM (#35049322)
It's fairly limited, without a lot of time and effort, or information from inside the network. I assume you're not acting as an AS, doing BGP, etc; and that you're just getting an IP allocation from a single ISP. In that case, you're probably getting an entire IPv6 subnet (like a /48) allocated to you. Ideally, you make the entire subnet available to your systems.

Assuming you block unsolicited packets (that is, packets not related to existing connections/streams) at your border (the connection to your ISP), then outsiders won't be able to use tools like traceroute to learn anything. All that an outsider has is an IPv6 IP, and since you're not doing BGP with anything, all they'll know to do is to send the traffic to your ISP.

Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @07:30PM (#35049904)
> How does that protect privacy of the private network? I don't want to divulge any information about internal topology.

I'm curious to know: what (attack) do you hope to protect against?

I would think that most attacks come in two fashions: the first being that you run a service of some kind and that there's some JSP/PHP/whatever exploit for a public facing service, and someone does a 'magic' PUT/GET that has the application server execute some code, which downloads a larger malware attack package. After which point the black hats start scanning from the inside.

The second being that someone clicks on a link in a phishing e-mail or executes some attachment, after which malware code starts scanning from the inside and phones home.

(A third being an insider attack, who presumably know about internal topology.)

What attack are you thinking to protect against by hiding subnet and VLAN topology?

Re:I spent a week without IPv4 to understand IPv6 transition... by gxt on Monday March 06, 2023 @07:49PM (#35050033)
This isn't about an attack scenario from this vector, it's about preventing reconnaissance that might yield helpful results to an adversary that can exploit it via any other vector.
Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @08:21PM (#35050267)
> […] that can exploit it via any other vector.

And what are those vector(s)?

Besides compromising a machine that is already inside per the above (which can then do scanning / lateral moves), or perhaps physically getting inside the premises (in which case a scanner can be physically installed to examine the network), what attack are you protecting against?

Can you give me a link about an attack that knowing the topology of the network ahead of time would allow, but that not knowing would prevent?

Re:I spent a week without IPv4 to understand IPv6 transition... by Retric on Monday March 06, 2023 @09:17PM (#35050689)
An example of security being sidestepped is Network intrusion detection. An adversary who knows your network architecture can avoid poking around your network which looks really suspicious.
Re:I spent a week without IPv4 to understand IPv6 transition... by zamnos on Tuesday March 07, 2023 @12:16AM (#35051844)
Just because you've popped a box on the inside doesn't mean you automatically know everything about the network. It doesn't give you a mirrored port on the network switch. It doesn't mean ICMP is enabled, it doesn't automatically tell you what ports are open or what they serve. And any decent security team is going to see your nmap blast in the IDS and kick that box in jail.

Seems intellectually dishonest not to acknowledge that making things easier, just y'know, makes things easier. Keeping attackers, who want to do you harm, in the dark as much as possible seems important to me.

Re:I spent a week without IPv4 to understand IPv6 transition... by bert64 on Tuesday March 07, 2023 @09:00AM (#35055390)
IPv6 actually makes such attacks more difficult, not less.

An attacker looking to be stealthy is not going to blast the network with nmap...

ARP is broadcast, NDP is solicited node multicast so simply by passively listening on the network you will discover nodes in the same layer 2 segment, with v6 and properly configured switches your passive discovery will be a lot more limited.

Other passive techniques would be monitoring things like DNS, and things the host you've compromised is actively communicating with. This isn't any different regardless of the protocol used.

You can also actively communicate with services like DNS or Active Directory and query information about the network, depending on your level of risk.

Just knowing the in-use IPv6 block is useless, the blocks are massive so even just identifying active hosts in a single known IPv6 block is a lot harder than simply scanning the entire RFC1918 legacy address space.

For active discovery, IPv6 is harder to attack - you can't scan the entire address block looking for hosts. The fact that such scans should be detected is exactly the same for either protocol. You also have to consider response time and what an attacker may be able to achieve before your response kicks in.

IPv6 makes it harder for attackers, not easier.

Re:I spent a week without IPv4 to understand IPv6 transition... by btgeekboy on Monday March 06, 2023 @09:27PM (#35050763)
Correct. If I talk to service A and I see an address that’s in the same /64 as service B, it’s unlikely there’s a firewall between the two. Two different /56 or /48? Probably a different site.
Re:I spent a week without IPv4 to understand IPv6 transition... by foepys on Monday March 06, 2023 @11:30PM (#35051565)
DNS rebinding could be one attack scenario.
Re:I spent a week without IPv4 to understand IPv6 transition... by yrro on Tuesday March 07, 2023 @02:40PM (#35060123)
See RFC 8981 (and that which it made obsolete, RFC 4941).
Re:I spent a week without IPv4 to understand IPv6 transition... by jbverschoor on Monday March 06, 2023 @08:14PM (#35050220)
Let’s say the firewall isn’t yours. Or the firewall needs to be replaced and is more open by default until you secure it. It’s also easier to map which kind of devices and how many you have..
Re:I spent a week without IPv4 to understand IPv6 transition... by stephen_g on Monday March 06, 2023 @10:22PM (#35051151)
In any case, your endpoints really do need to be reasonably secure in themselves - especially if the firewall isn’t yours as then you are probably sharing the network with other devices on the inside of the network that can attack you directly, and even if not, it just takes one device being compromised and somebody has full inside access to the network, with the firewall not being able to do much…
Re:I spent a week without IPv4 to understand IPv6 transition... by jbverschoor on Tuesday March 07, 2023 @02:38AM (#35052643)
Good luck with your home automation, printer, and tv
Re:I spent a week without IPv4 to understand IPv6 transition... by BenjiWiebe on Tuesday March 07, 2023 @09:04PM (#35064267)
NAT doesn't protect you from things inside your LAN either. Where you have NAT+firewall with IPv4 now, you'll need a firewall with IPv6.
Re:I spent a week without IPv4 to understand IPv6 transition... by viraptor on Monday March 06, 2023 @10:51PM (#35051329)
The same comment applies to ipv4. Port bindings accessible from outside by accident, misconfigured upnp, SIP-ALG with vulnerabilities, various other router issues. "What if my firewall is broken" is not a new ipv6 consideration.
Re:I spent a week without IPv4 to understand IPv6 transition... by jbverschoor on Tuesday March 07, 2023 @02:42AM (#35052664)
It’s not, but the “beauty” of NAT is that you have an extra line of defense because of its limitations. Port bindings and upnp are far less impactful and less common.
Re:I spent a week without IPv4 to understand IPv6 transition... by viraptor on Tuesday March 07, 2023 @03:07AM (#35052843)
I'm not talking about preconfigured port mapping. I'm taking about bindings as in entries in NAT. That happens on every outbound connection and has stateful processing. We're still finding issues with it, like the relatively recent NAT Slipstream vulnerability.
Re:I spent a week without IPv4 to understand IPv6 transition... by kaetemi on Monday March 06, 2023 @08:47PM (#35050453)
My ISP's modem doesn't do prefix delegation so I don't even get IPv6 with my own router in-between. And I need that thing in-between to at least have some control over the IPv4 LAN. No idea what security that modem provides, since there are zero controls, so no IPv6 it is.
Re:I spent a week without IPv4 to understand IPv6 transition... by sgtnoodle on Tuesday March 07, 2023 @01:26AM (#35052242)
You could still route within the /64, couldn't you? With a smaller subnet SLAAC wouldn't work, but you could DHCPv6 addresses still. There is also an RFC somewhere for sharing a single /64, intended for mobile hotspots.
Re:I spent a week without IPv4 to understand IPv6 transition... by kaetemi on Tuesday March 07, 2023 @10:12AM (#35056178)
No idea. I've tried every setting combination on this consumer grade D-Link router which is supposed to support IPv6. Nothing results in a functioning network. Forum posts I find from other customers of this ISP report the same behaviour on other routers. The modem gets a /56 at least, and hands out addresses from a /64 range under that I assume, the router gets a /128 from the modem, and then gives up entirely on doing anything with IPv6.
Re:I spent a week without IPv4 to understand IPv6 transition... by sgtnoodle on Tuesday March 07, 2023 @11:40AM (#35057423)
It sounds like your ISP is delegating a prefix, then? Weird, that all sounds reasonable to me. What do you mean the router gives up entirely, though? Computers in the LAN don't get an IP address? Packets go out but nothing comes back?
Re:I spent a week without IPv4 to understand IPv6 transition... by kaetemi on Wednesday March 08, 2023 @12:14AM (#35065526)
Yup, computers on the LAN don't get any address. From what I understand, the modem would be supposed to delegate a prefix to the router so it can hand out addresses, but this part isn't happening.
Re:I spent a week without IPv4 to understand IPv6 transition... by chillfox on Tuesday March 07, 2023 @12:16AM (#35051843)
Minecraft is a bad example here as it supports advertising the port in DNS.
Re:I spent a week without IPv4 to understand IPv6 transition... by drtgh on Tuesday March 07, 2023 @08:21AM (#35055007)
> Globally routable ≠ globally connectible

Tell us with the next 0 day, because that big problem exist, and unfortunately happens every days.

IPv6 == All your devices are globally ROUTABLE and CONNECTIBLE from Internet, your home network is part of internet. It is an additional rule in the router's firewall what temporarily avoids it. Remark in temporarily, as one day the gifted packet will arrive to the router. This is not cool.

So much so that -the home network is part of internet- that if you want to create a simple Video NAS or whatever, one have to use external DNS services, as no one have control over its own local IPs... what are served by the ISP. This is not cool.

Even if it was not designed for it, NAT has been helping to secure and giving flexibility to our local networks along decades, but someones decided to reject it from the specification. Bad decision.

Re:I spent a week without IPv4 to understand IPv6 transition... by sgtnoodle on Tuesday March 07, 2023 @11:53AM (#35057609)
I don't even necessarily disagree with you, but your examples don't seem accurate.

Regarding firewalls bring prone to accepting by default, either way the packet has to go through the CPU to be routed. I don't believe there's any inherent bias in the design. You could argue that routers that use a single switch and vlan isolate the wan port are inherently biased, though.

Regarding local hostname resolution, there are several options that don't require your ISP. There's mDNS, DHCPv6 and DNS on your router, ULA prefixes, or you can continue using IPv4 for local traffic.

Re:I spent a week without IPv4 to understand IPv6 transition... by drtgh on Tuesday March 07, 2023 @03:05PM (#35060448)
The words "local" or "home" network with IPv6 are an illusion, this is what I wanted to show with my examples,

Firstly one ceases to have control of its own home network, what now have to rely on the ISP for to receive the "local" IPs, what are part of internet. And in addition each machine leaves a trace of its "local" ip on the Internet. This if one want internet access in the device, due the absence of NAT in the router's protocol.

Secondly one have to rely on a buggy piece of code called firewall for to make "local" those IPs, due the absence of NAT in the router's protocol.

https://nvd.nist.gov/vuln/search/results?form_type=Basic&res...

https://www.cvedetails.com/google-search-results.php?q=firew...

We are talking about millions of routers provided by the ISPs in each country, barely maintained and updated, what little by little will become exposed. And this without taking in account the unpublished firewall bugs that each artist keeps for themselves and takes 3 to 5 years become detected and fixed by the mainstream. I do not know how to express the negligence is going on, but I can see that Crackers, Advertisers (privacy) and "others" are in good time because things are getting more easier for them than it should be.

Why people keep down-voting the message is a mystery for me. If it is due the local hostname resolution, mDNS, ULA prefixes, etc, all are workarounds due it is a network one does not control, what is one of the main points I exposed (it also needs filters/rules what needs be manually added in the firewall, each user has to make efforts to try to protect the supposed "from internet" separation).

One could create another network as you said, but the main problem keep existing without NAT.

Re:I spent a week without IPv4 to understand IPv6 transition... by sgtnoodle on Wednesday March 08, 2023 @05:51AM (#35067485)
I still don't think you're really providing any examples or arguments that make your point, though. You're just coming across as really salty about IPv6. I'm not downvoting you.

IPv6 has link-local addresses that aren't routable, so you can't really get more local than that. Unlike a typical IPv4 setup, typical IPv6 hosts have multiple addresses, and you can make your own for local traffic and only rely on ISP prefixes for internet access if you want to.

Sure, the internal host's internet routable IP address is visible rather than being masked behind the router's IP address. Pretty much all operating systems periodically randomize the bottom 64 bits, making it effectively as opaque as NAT. You could call that a hack, but people call NAT a hack. There's tradeoffs.

The CVE links you provided are just lists of vulnerabilities with "firewall" in the name. Skimming through them, I don't see how they're specific to IPv6? Most of the vulnerability descriptions I read seem equally problematic for NAT setups. The one IPv6 specific one I saw had to do with a bad firewall rule allowing access to LAN facing services running on the router; it could have just as easily been a bad IPv4 rule.

I agree, consumer network gear all sucks. IPv6 is bolted on as an afterthought, and is probably buggy in a lot of them. More features means more opportunity for bugs, but that's true of anything. IPv6 isn't being deployed for no reason; there's limited IPv4 addresses to go around. I still don't follow why IPv6 is fundamentally riskier than IPv4 when traversing a router. Sure, with NAT an incoming packet needs to have a port number that's been dynamically mapped back to an internal host and port, or have a static port forward. In IPv6, an incoming packet needs to have a destination address and port that's been dynamically mapped back to an internal host and port, or have a static firewall rule. It's basically the same, but also less complicated for the router because there's no translation involved. In time, less complexity is good for software hardness.

I also get anxiety from trying to wrap my head around IPv6 address assignment. It is nuts. It's very comforting to work in the effectively 8-bit address space of a /24 IPv4. I suppose it's true that you can't control internet routable IPv6 addresses in that they are dynamic and ephemeral in their nature. Coming from IPv4, it feels messy. I've experimented in detail with configuring my own ULA, DHCPv6 configuration, and SLAAC. I've tried to embrace the benefits of IPv6, and having used a few of the features I can appreciate them for what they are.

Re:I spent a week without IPv4 to understand IPv6 transition... by drtgh on Wednesday March 08, 2023 @11:09AM (#35070746)
One of my main concerns is when the firewall stops working (due a poisoned packet what shutting it down, what would be the first logic kind of attack I guess) currently the access to the "local" network would be granted with IPv6; the network becomes the same as the attacker's one.

I put the CVE links with the generic word "firewall" because it is the point where the "local" vs "internet" resides with blind faith within IPv6 (without indicating an specific exploit, just vulnerabilities exist). For this case, the DDOS and buffer overflows that force the firewall to shut down, or code execution, what are periodically discovered, is what I wanted to show for being considered as a serious problem. Not everyone reports firewall bugs, and others I guess even wickedly insert them.

With NAT setups, the local and internet networks are different between them, what requires the packets to be filtered and rewritten by NAT for the address what solicited it, while unsolicited packages are discarded. The NAT in consumer gear is run mainly by software, but a poisoned packet will not aim to shut it down for network penetration because it would be the end. If the NAT stops working, the doors close for everyone.

It is about the double checking,

-IPv6 without NAT: If the firewall stop working, opened doors. Feast.

-IPv6 with NAT: If the firewall stop working, many rules get unfiltered, wild. But NAT keeps the local/internet separation besides filtering unsolicited packages. Not absolutely secure, nevertheless keeps being a complex target.

Like all of we, I suffered some problems that NAT can bring losing countless hours trying to make work some specific services, but when I first read IPv6 didn't implemented NAT nor something similar in the protocol (for whom whish to use it at least...) and what the supposed local IPs are merely part of internet (link-local addresses that aren't routable as first target, devices with internet connection are), each device with its own public address, I doubted seriously about what was going on.

Given that even Mikrotik RouterOs periodically have security vulnerabilities related with the firewall, I can't conceive the idea of people relying on firewalls rules to do the home/internet separation within IPv6 (plus the public address of each device gives me also anxiety), as it is a matter of time before such separation ceases to exist; it is like the crossing of fingers.

I mean, it is not a matter of misfit, it is more like the users will not even notice the router's firewall was shut down.

Re:I spent a week without IPv4 to understand IPv6 transition... by bert64 on Wednesday March 08, 2023 @06:19AM (#35067680)
Not at all, your "local" network is the link-local address space, which legacy IP has no analog of. The link-local space cannot be routed either intentionally or accidentally.

RFC1918 address space IS routable, it just doesn't have a global route. There is nothing to stop devices adjacent to your wan interface (ie other customers) from manually adding a route to your RFC1918 address space via your firewall. Will that traffic be allowed? that depends on the device and its configuration, have you ever tested this scenario? probably not.

NAT is a hack to get around a shortage of address space, nothing more. Once the shortage is gone there's no more need for NAT. That's why although NAT with IPv6 is possible, it's very rarely used because you no longer have any valid reason to use it. If you are think there are any other reasons to use NAT then you need to brush up on your network knowledge because a lot of smarter people than you or I are saying to avoid NAT and designing systems (eg IPv6) to fix the problems it causes.

US government advice is to avoid the use of NAT because of the extra complexity it introduces, which actually reduces security:

https://media.defense.gov/2023/Jan/18/2003145994/-1/-1/0/CSI...

Re:I spent a week without IPv4 to understand IPv6 transition... by dns_snek on Tuesday March 07, 2023 @08:52PM (#35064163)
> It is an additional rule in the router's firewall what temporarily avoids it.

I really don't understand the fearmongering. Your home router likely runs some flavor of Linux which uses Netfilter/iptables to perform both NAT and filtering. Do you believe that the filtering/firewall modules are inherently flawed, yet the NAT modules are infallible?

I see them as two sides of the same coin. If we're theorizing about a magic packet that not only removes your firewall rules, but also flips the default policy to ACCEPT, the very same packet could also sneak in a few NAT rules into your IPv4-only router.

Re:I spent a week without IPv4 to understand IPv6 transition... by KronisLV on Tuesday March 07, 2023 @09:35AM (#35055770)
> Further, because you don't have only one external IP, you don't have to futz around with non-default ports if you want multiple instances of the same service (e.g., Minecraft), because each instance can have its own IP.

This is an interesting point though personally I love how easy container technologies made exposing arbitrary ports, without trying to configure the software itself, or checking whether it even supports customizing the port.

For example, I could have 3 database instances, each using 3306, but expose them on 30000, 30001 and 30002 or whatever I want.

Re:I spent a week without IPv4 to understand IPv6 transition... by yrro on Tuesday March 07, 2023 @02:37PM (#35060082)
But the things connecting to them need to know which non-default ports to use!

The Gods intended for each database service to have its own IP address and I curse the market forces that have trapped so many of us in the quagmire of NAPT!