Is there a way, to block ipv6 traffic for al traffic over my wireguard interface.
I use policy routing for some iot devices and the are behind a wireguard vpn. But offcourse ipv6 is leaking, because al devices are on ipv4 and ipv6.
But if there is a way to block ipv6 traffic on my WG0 interface then only ipv4 traffic has access.
using openwrt 22.03.3 on a raspberry pi 4B.
Something like;
reject ipv6 traffic from lan to wg0?
`config rule
option name 'block ipv6 traffic over WG0'
option family 'ipv6'
list proto 'all'
option src 'lan'
option dest 'Wireguard'
option target 'REJECT'`