iptables - problem with a subnet
Thanks for reading this E-mail.
I got a little problem.
I have a little network <IP>/29 at home. My server has IP number
x.x.x.206. What I would like is to give all my computers on my local
network full access to my server. So I put this as first at top of my
iptables list. for example my ranges is 10.1.1.0/29
-A INPUT -s 10.1.1.200/29 -j ACCEPT (policy is DROP)
but this doesn't work. So I try the rules here below and this does work
-A INPUT -s 10.1.1.201 -j ACCEPT
-A INPUT -s 10.1.1.202 -j ACCEPT
-A INPUT -s 10.1.1.203 -j ACCEPT
-A INPUT -s 10.1.1.204 -j ACCEPT
-A INPUT -s 10.1.1.205 -j ACCEPT
-A INPUT -s 10.1.1.206 -j ACCEPT
Does someone know what I'm doing wrong?
Kind regards Michel.