IPtables on LXD

HI,
I have loaded below modules in the profile of container
linux.kernel_modules: ip_tables,ip6_tables,nf_nat,overlay,br_netfilter,x_tables
its is blocking all traffic if i enter the below rule
iptables -I INPUT -s 0.0.0.0 -j DROP
but when i block an specific sources iptables does not block it and the traffic keeps coming single ip rule is given below.
iptables -I INPUT -s x.x.x.x -j DROP
my rule is working fine on the main host node not in container.
OS details =DEBIAN 10
lxd version=server_version: “4.11”