Frage
Antwort
Lösung
am 04.04.2025 09:01
Good Morning,
leider ist mein Deutsch sehr schlecht. Ich werde versuchen, dies zu übersetzen, wenn nötig
I cannot seem to activate port forwarding on my Fritz!Box 6670 Cable. I have opened port 8080 for forwarding to my laptop (Ubuntu latest), as a test.
My settings are:
- IPv6 support enabled
- Use native IPv6 connection
- Establish IPv4 connection via DS Lite
- Determine AFTR address automatically over DHCPv6
- Automatically negotiate a global address
- Use DHCPv6 Rapid Commit
Laptop is set in the filters as Access Profile: Standard. The profile has no active blocks on it.
Under "Permit access" the laptop has port 8080 enabled for both IPv4 and IPv6, I did it manually, to avoid problems with upnp, so"indipendent port sharing" is not enabled and lists "0 enabled). I tried this as it also didn't work with upnp.
I'm running from a terminal:
nc -6 -l -p 8080
When I access http://[2a02:908:xxxxxx:1863]:8080/ from the same laptop the page doesn't open, however netcat sees an attempt:
GET / HTTP/1.1
Host: [2a02:908:xxxxxx:1863]:8080
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Priority: u=0, i
An online test also gets denied, however in this case nc doesn't receive anything at all:
Your Public IPv4: 95.xxxxxx.179
Your Public IPv6: 2a02:908:xxxxxx:1863
Failed: We can NOT see your service on 2a02:908:xxxxxx:1863 on port (8080)
Reason: Permission denied
04.04.2025 10:47 - bearbeitet 04.04.2025 10:49
IPv6 doesn't need port forwardings.
If you want to access a server using IPv6, you have to use its public IPv6 address and NOT the one from the router!
And of course your server software has to be configured to use IPv6 as well as it must support IPv6.
IPv4 only software won't work...
am 04.04.2025 11:15
in addition to @reneromann
you need to disable IPv6 Privacy Extensions on your Ubuntu laptop
am 05.04.2025 17:32
Update: The Fritz!box was incorrectly selecting the link-local portion of the laptop's IPv6 address and combining it with the global prefix. This was the source of the trouble. Once I delete the automatically created share and manually fix the address everything works.