<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div><font class="Apple-style-span" face="Verdana, arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 12px;"><div>I have an OpenWrt 10.03 router [ IP: 192.168.1.1 ], and it has a DHCP server pool: 192.168.1.0/24 - clients are using it through wireless/wired connection. Ok!</div><div><br></div><div>Here's the catch: I need to separate the users from each other.</div><div><br></div><div>How i need to do it: by IPTABLES rule [ /etc/firewall.user ]. Ok!</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">"Loud thinking": So i need a rule something like this [on the OpenWrt router]: </div><div><br></div><div>- DROP where SOURCE: 192.168.1.2-192.168.1.255 and DESTINATION is 192.168.1.2-192.168.1.255</div><div><br></div><div>The idea is this. Ok!</div><div><br></div><div>Questions! </div><div>- Will i lock out myself if i apply this firewall rule?</div><div>- Is this a secure method? [ is it easy to do this?: hello, i'm a client, and i say, my IP address is 192.168.1.1! - now it can sniff the unencrypted traffic! :( - because all the clients are in the same subnet! ]</div><div>- Are there any good methods to find/audit for duplicated IP addresses?</div><div>- Are the any good methods to find/audit for duplicated MAC addresses?</div><div>- Are there any good methods to do this IPTALBES rule on Layer2?:</div><div>`$ wget -q "http://downloads.openwrt.org/backfire/10.03/ar71xx/packages/" -O - | grep -i ebtables`</div><div>`$ `</div><div><br></div><div><br></div><div><br></div><div>p.s.: The rule would be [is it on a good chain?]: </div><div>iptables -A FORWARD -m iprange --src-range 192.168.1.2-192.168.1.255 --dst-range 192.168.1.2-192.168.1.255 -j DROP</div><div><br></div><div>Thank you!</div></span></font></div><div id="" style="font-family: Verdana, arial, Helvetica, sans-serif; font-size: 12px; "></div></body></html>