Hi Folks,
I seem to be running into a weird issue, my ISP has dualstack implemented and I get both IPv4 and IPv6 addresses assigned when establishing the PPPoE connection. It works absolutely fine when I directly connect the PC to ISP ONT(ZTE F670L), I can establish connections with IPv6 destinations but when I connect via the OpenWrt router(RT-AC-58U) then I'm able to only ping the same IPv6 destinations but other connections fail. So far, I've tried mss clamping but that didn't seem to help, also tried the IPv6 relay config as documented in the wiki but then the clients don't get any IPv6 address assigned to them. I'd really appreciate if someone can help me with this.
Here's my current config
/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd0e:0f19:b412::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '64'
option ipaddr '192.168.20.1'
config device 'lan_eth0_dev'
option name 'eth0'
option macaddr '04:92:26:8b:49:38'
config interface 'wan'
option ifname 'eth1'
option proto 'pppoe'
option password 'xyz'
option username 'abc'
option peerdns '0'
option keepalive '3 5'
option ipv6 'auto'
config device 'wan_eth1_dev'
option name 'eth1'
option macaddr '04:92:26:8b:49:3c'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
option reqprefix 'auto'
option reqaddress 'try'
option peerdns '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0'
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '0'
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.auto'
option nonwildcard '1'
option localservice '1'
option noresolv '1'
option localuse '1'
option cachesize '0'
list server '127.0.0.53'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '24h'
option ra_management '1'
option ra 'server'
option dhcpv6 'server'
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'