I have an iptable rule where I allow a subnet of IPs. The rule is as the following:
iptables -I INPUT 2 -i eth0 -s x.x.x.x/24 -d x.x.X.x -j ACCEPT
For example, I want to allow subnet 172.16.0.0/24. May I face up with a problem like an IP from this subnet has no access, although I have configured this subnet to be allowed?
I am dealing with an issue like this. I have configured 172.16.0.0/24 to allowed from iptables but when I try to access from IP 172.16.0.9, I have no access.