<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2"></HEAD><BODY><DIV><FONT face="Courier New" color=#000000 size=2>Hi everybody,</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>can someone recommend me how to solve quite 
simple problem.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>Assume simple setup: </FONT></DIV>
<DIV><FONT face="Courier New" size=2>single wireless interface (wlan0), hostap 
in master </FONT><FONT face="Courier New" size=2>mode,</FONT></DIV>
<DIV><FONT face="Courier New" size=2>AP adress is 
192.168.1.1,&nbsp;</FONT></DIV>
<DIV><FONT face="Courier New" size=2>stations use 192.168.1.2, </FONT><FONT 
face="Courier New" size=2>192.168.1.3, </FONT><FONT face="Courier New" 
size=2>192.168.1.4, 192.168.1.5</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>I want to by default deny traffic between 
all stations, </FONT><FONT face="Courier New" size=2>i.e:</FONT></DIV>
<DIV><FONT face="Courier New" size=2>iw_priv wlan0 ap_bridge_packets 
0</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>however, I need to allow several stations 
to communicate together</FONT></DIV>
<DIV><FONT face="Courier New" size=2>(i.e. 192.168.1.3 should be able to talk 
with 192.168.1.5).</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>Any solutions?</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>BTW: </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>I've tried to:</FONT></DIV>
<DIV><FONT face="Courier New" size=2>1) iw_priv wlan0 ap_bridge_packets 
1</FONT></DIV>
<DIV><FONT face="Courier New" size=2>2) iptables -A FORWARD -s 192.168.1.2/32 -d 
192.168.1.3 -j DROP</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>to stop the traffic between station 2 and 3 
but it did nothing</FONT></DIV></BODY></HTML>