19.07 6rd newbie info

hi all!

i've been using 18.06 with 6rd configuration with my provider and from luci under network -> interfaces i can see wan_6 interface auto-magically created in red color (wan firewall zone).

now with 19.07 all works the same but the interface is auto-magically created in white color (no firewall zone??). since is auto created i cannot edit the interface to specify a firewall zone.

in both cases all works fine, since i'm not an expert was wondering if this change is normal behavior and if the interface is actually in wan firewall zone. under luci status -> firewall i can see some rules referring to the interface "zone_wan_input all 6rd-wan_6" but i'm not really sure.

the fact that it is not created in red is a bit confusing for a newbie, any clarification from someone more advaced than me would be great :slight_smile:

many thanks

Its probably a bug in the ui. Can you provide the output of ifstatus wan_6 from the shell?

off course

root@router:~# ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 105658,
        "l3_device": "6rd-wan_6",
        "proto": "6rd",
        "updated": [
                "addresses",
                "routes",
                "prefixes",
                "data"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "xxxx",
                        "mask": 32
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "xxxx",
                        "mask": 64,
                        "class": "wan_6",
                        "assigned": {
                                "lan": {
                                        "address": "xxxx",
                                        "mask": 64
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "xxxx",
                        "metric": 4096,
                        "source": "xxxx"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "xxxx",
                        "metric": 4096,
                        "source": "xxxx"
                }
        ],
        "dns-server": [

        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "zone": "wan"
        }
}

thank you

i guess this should indicate actual firewall zone

...
...
        "data": {
                "zone": "wan"
        }
...
...

also reading from https://openwrt.org/docs/guide-user/network/ipv6_ipv4_transitioning#rd_tunnel_isp-provided_ipv6_transition:

The configuration of 6rd is usually auto-detected and manual configuration is not needed, simply installing the 6rd package (and rebooting) is usually enough

yep, my case install 6rd reboot all good, only difference in 18.06 luci -> network interface wan_6 is listed in red while in 19.07 is listed in white.

In addition you also need to add its name to a suitable firewall zone in /etc/config/firewall

this worked to get interface listed in red in 19.07, don't really know if this correct and/or really needed.

@jow if this is the case how can i submit info for this issue? i have zero experience whit this :slight_smile:

thank you all