I tether my phone either by usb or wifi. I get the following ip's assigned:
IPv6: 2600:10*****:fe0b:c9dc/64
IPv4: 192.168.184.88/24
Since I got only a fe80: ipv6 assigned on the computer I applied all changes form https://openwrt.org/docs/guide-user/network/ipv6/configuration#ipv6_relay
ipv4 works without problems and when I tether the computer directly with the phone with wifi I have ipv4 and ipv6 working.
uci export network:
package network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd12:a489:73af::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.150.1'
option ip6assign '64'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '6t'
config interface 'hwan'
option proto 'dhcp'
option device 'wlan0'
config interface 'hwan6'
option proto 'dhcpv6'
option device 'wlan0'
option reqaddress 'try'
option reqprefix 'auto'
config switch_vlan
option device 'switch0'
option ports '4 6t'
option vlan '2'
config interface 'twan'
option proto 'dhcp'
option device 'usb0'
config device
option name 'usb0'
config interface 'twan6'
option proto 'dhcpv6'
option device 'usb0'
option reqaddress 'try'
option reqprefix 'auto'
uci export dhcp
package dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option ra 'relay'
option ndp 'relay'
option dhcpv6 'relay'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'hwan6'
option interface 'hwan6'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
config dhcp 'twan6'
option interface 'twan6'
option master '1'
option ra 'relay'
option ndp 'relay'
option dhcpv6 'relay'
Now I get some ipv6 ip's on my computer:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.150.140 netmask 255.255.255.0 broadcast 192.168.150.255
inet6 2600:10*****:848e:b1b3 prefixlen 64 scopeid 0x0<global>
inet6 fe80::680b:e027:bea2:1661 prefixlen 64 scopeid 0x20<link>
ether c8:e2:65:6b:bc:32 txqueuelen 1000 (Ethernet)
But when I try ping6 google.com on the router I get only
PING google.com (2607:f8b0:4005:813::200e): 56 data bytes
and ping -6 google.com on the computer it takes very long to resolve the address and I get only
PING google.com(fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e)) 56 Datenbytes
and in both cases all packets are lost.
I even tried NAT66 according to https://openwrt.org/docs/guide-user/network/ipv6/ipv6.nat6 but I reverted all changes since it wasn't working either.
I have no idea what to do next since I have no clues about ipv6.
Any help would be greatly appreciated.