There is an IPv4 and IPv6 option to disable forwarding on ALL interfaces set system ip disable-forwarding
There is also an optiontdo disable IPv6 forwarding on a particular interface set interfaces ethernet eth0 ipv6 disable-forwarding
but there is no such option for IPv4 interfaces and even multicast forwarding.