IPv6 source routing option not working

Hi,

I'm configuring IPv6 masquerading as described in the wiki, however disabling the option "IPv6 source routing" does not appear to have any effect as the default IPv6 route still have a "from" restriction:

# uci show network.wan6
network.wan6=interface
network.wan6.proto='dhcpv6'
network.wan6.reqaddress='try'
network.wan6.reqprefix='auto'
network.wan6.device='wan.20'
network.wan6.norelease='1'
network.wan6.sourcefilter='0'  <-----

# uci show firewall.@zone[6]
firewall.cfg46dc81=zone
firewall.cfg46dc81.name='wan'
firewall.cfg46dc81.output='ACCEPT'
firewall.cfg46dc81.masq='1'
firewall.cfg46dc81.mtu_fix='1'
firewall.cfg46dc81.input='DROP'
firewall.cfg46dc81.forward='DROP'
firewall.cfg46dc81.network='wan' 'wan6'
firewall.cfg46dc81.masq6='1' <----

# ip -6 route show dev pppoe-wan
default from 2001:0db8:8403:1e00::/56 via fe80::1 dev pppoe-wan  metric 512  <---
default from 2001:0db8:84ff:ffff::4f75:2050 via fe80::1 dev pppoe-wan  metric 512 <---
fe80::1 dev pppoe-wan  metric 256 
fe80::4f75:2050 dev pppoe-wan  metric 256 
multicast ff00::/8 dev pppoe-wan  metric 256 

The effects are that the hosts in the dmz network (which only have a ULA prefix) cannot access external IPv6 addresses.

The option network.wan6.sourcefilter=0 appears to be ignored. Is this a bug?

Thank you.

I opened a bug report and there's already a PR to fix this problem:

How is your base wan configured? When using ppp IPv6 with default settings, the ppp driver would start up a wan_6 interface (which is not wan6) and configures it.

The base wan interface is PPPoE.