Yes, there was a corresponding change. I've tested the new version 14.23.1.2556. The Forge server now behaves as expected. It opens an IPv6 socket with the correct address. But if I want to connect directly over IPv6 to my server from the Forge client, I run into a timeout:
Failed to connect to the server io.netty.channel.ConnectTimeoutException: connection timed out:
However, the server can be reached via IPv6. The port is open. So here's what I did: I've set a simple proxy_pass rule for my Minecraft server in my Nginx server:
server {
15 listen 25565;
17
18 #TCP traffic will be proxied a proxied server
20 proxy_pass [2a01:238:42b5:cd00:d0a4:b9f:3a6b:fe36]:25565;
21 }
Then I connected from my Forge (14.23.1.2556) client over IPv4 to my Nginx server. And lo and behold, it worked! My Nginx server could establish an IPv6 connection to the Forge server without any problems. But if I try to connect directly to the IPv6 server, it doesn't work with the Forge client. The client tries to connect and after a while the above error message is displayed. To test the direct IPv6 connection I use the FQDN computercult6.finnx.de in my client.This FQDN only resolves to the IPv6 address of my IPv6 server and to nothing else.
I also could connect with the vanilla client directly to computercult6.finnx.de (don't have any mods loaded). Therefore, I suspect that the Forge client is still trying to establish an IPv4 connection even if I use computercult6.finnx.de as server. But to be able to say that for sure, I would have to sniff with wireshark. But thank you very much for your quick help so far. I'll be back after I run some more tests.