Allow traffic between (some) associtated stations, otherwise deny
Jan Rovner
jan.rovner
Sat Mar 6 07:46:09 PST 2004
Hi everybody,
can someone recommend me how to solve quite simple problem.
Assume simple setup:
single wireless interface (wlan0), hostap in master mode,
AP adress is 192.168.1.1,
stations use 192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5
I want to by default deny traffic between all stations, i.e:
iw_priv wlan0 ap_bridge_packets 0
however, I need to allow several stations to communicate together
(i.e. 192.168.1.3 should be able to talk with 192.168.1.5).
Any solutions?
BTW:
I've tried to:
1) iw_priv wlan0 ap_bridge_packets 1
2) iptables -A FORWARD -s 192.168.1.2/32 -d 192.168.1.3 -j DROP
to stop the traffic between station 2 and 3 but it did nothing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20040306/a1536545/attachment.htm
More information about the Hostap
mailing list