Cannot access a domain as it tries to use ipv6 when there is no ipv6 right now

Hello!
How are you?
I have an OpenWrt network and the provider is not providing ipv6.
On the LAN clients are working, but on my router I cannot update it, because i thinks it should use ipv6:

root@office:/etc/easy-rsa# ping patrikx3.com
PING patrikx3.com (2001:470:1f1b:5b3:21b:21ff:fea6:ce93): 56 data bytes
ping: sendto: Permission denied
root@office:/etc/easy-rsa# 

Besides I disabled this as well:

You can see WAN6 is disabled, so how come this error?

@openwrt-router:

ubus call system board
ip -4 a; ip -4 r; ip -4 ru
ip -6 a; ip -6 r; ip -6 ru
traceroute openwrt.org
1 Like
root@office:~# ubus call system board
{
        "kernel": "4.14.95",
        "hostname": "office.router",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "D-Link DIR-860L B1",
        "board_name": "dir-860l-b1",
        "release": {
                "distribution": "OpenWrt",
                "version": "18.06.2",
                "revision": "r7676-cddd7b4c77",
                "target": "ramips\/mt7621",
                "description": "OpenWrt 18.06.2 insomnia"
        }
}
root@office:~# ip -4 a; ip -4 r; ip -4 ru
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    inet 192.168.99.1/24 brd 192.168.99.255 scope global br-lan
       valid_lft forever preferred_lft forever
11: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    inet 192.168.10.109/24 brd 192.168.10.255 scope global eth0.2
       valid_lft forever preferred_lft forever
14: l2tp-sygnusvpn: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UNKNOWN group default qlen 3
    inet 192.168.140.173 peer 192.168.140.254/32 scope global l2tp-sygnusvpn
       valid_lft forever preferred_lft forever
16: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
    inet 192.168.17.2/24 brd 192.168.17.255 scope global tun0
       valid_lft forever preferred_lft forever
default via 192.168.10.1 dev eth0.2 proto static src 192.168.10.109
default via 192.168.140.254 dev l2tp-sygnusvpn proto static metric 10
192.168.10.0/24 dev eth0.2 proto kernel scope link src 192.168.10.109
192.168.17.0/24 dev tun0 proto kernel scope link src 192.168.17.2
192.168.78.0/24 via 192.168.17.1 dev tun0
192.168.99.0/24 dev br-lan proto kernel scope link src 192.168.99.1
192.168.140.0/24 dev l2tp-sygnusvpn scope link
192.168.140.254 dev l2tp-sygnusvpn proto kernel scope link src 192.168.140.173
212.92.16.90 via 192.168.10.1 dev eth0.2 proto static
0:      from all lookup local
32764:  from all to 192.168.140.173 lookup sygnusvpn
32765:  from 192.168.140.173 lookup sygnusvpn
32766:  from all lookup main
32767:  from all lookup default
root@office:~# ip -6 a; ip -6 r; ip -6 ru
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UNKNOWN qlen 1000
    inet6 fe80::d078:d9ff:fe88:3e73/64 scope link
       valid_lft forever preferred_lft forever
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::e66f:13ff:fef9:c8b4/64 scope link
       valid_lft forever preferred_lft forever
11: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::e66f:13ff:fef9:c8b7/64 scope link
       valid_lft forever preferred_lft forever
12: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::e66f:13ff:fef9:c8b4/64 scope link
       valid_lft forever preferred_lft forever
13: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::e66f:13ff:fef9:c8b6/64 scope link
       valid_lft forever preferred_lft forever
16: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN qlen 100
    inet6 fe80::9b86:b1ba:5208:b181/64 scope link stable-privacy
       valid_lft forever preferred_lft forever
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0.2 proto kernel metric 256 pref medium
fe80::/64 dev br-lan proto kernel metric 256 pref medium
fe80::/64 dev wlan1 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
fe80::/64 dev tun0 proto kernel metric 256 pref medium
0:      from all lookup local
32766:  from all lookup main
4200000001:     from all iif lo failed_policy
4200000009:     from all iif br-lan failed_policy
4200000011:     from all iif eth0.2 failed_policy
4200000014:     from all iif l2tp-sygnusvpn failed_policy
4200000016:     from all iif tun0 failed_policy
root@office:~# traceroute openwrt.org
traceroute to openwrt.org (139.59.209.225), 30 hops max, 38 byte packets
 1  192.168.10.1 (192.168.10.1)  0.369 ms  0.313 ms  0.225 ms
 2  192.168.25.254 (192.168.25.254)  0.542 ms  0.553 ms  0.470 ms
 3  host1.telconet.hu (79.121.80.1)  4.102 ms  4.322 ms  4.448 ms
 4  185.63.44.58 (185.63.44.58)  4.783 ms  4.739 ms  5.003 ms
 5  93.190.6.118 (93.190.6.118)  5.646 ms  4.856 ms  6.488 ms
 6  fra2-edge1.digitalocean.com (80.81.195.151)  22.674 ms  21.760 ms  22.697 ms
 7  138.197.250.147 (138.197.250.147)  22.130 ms  138.197.250.145 (138.197.250.145)  22.646 ms  27.277 ms
 8  wiki-01.infra.openwrt.org (139.59.209.225)  22.321 ms  21.618 ms  21.808 ms
root@office:~#
root@office:~#

As expected, default is IPv4.

nslookup patrikx3.com
traceroute patrikx3.com

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.