Strange regression with default route checkboxes

Hello,

So I'm trying to setup a 6in4 tunnel because my isp does not have ipv6.

but now I noticed something which I think looks flawed:

this is the local ip from wgclient1, my issue here however is that this basically tells me that the checkbox default gateway is checked by default meaning on the wgclient1 instance... in OpenWrts design it will be used as a WAN type interface with a default route.

personally I think this is wrong when policies are enabled, if I add the option option default_route '0' and apply this then it shows the proper results inside the 6in4 luci page and I see my normal wan ip again.

but if I go and restart the network then the vpn breaks, maybe it is just me but I think this stems to a major issue also other generated non wan interfaces get this checkbox checked, although essentially you do not want any default routes because the policy is gonna do that.

Hi,

Thank you for your detailed feedback.

We were able to reproduce the behavior you described locally. When the VPN is active, we found that LuCI's WAN-interface query may return wgclient1 before the actual WAN interface. The 6in4 configuration page then uses the IPv4 address of the first returned interface as the default Local IPv4 address .
We have recorded this behavior and submitted it for further evaluation.

Thank you again for your feedback and support.

1 Like