Allow traffic between (some) associtated stations, otherwise deny

Denis Vlasenko vda
Sat Mar 6 12:31:12 PST 2004

On Saturday 06 March 2004 17:46, Jan Rovner wrote:
> 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,
> stations use,,,
> 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. should be able to talk with
> Any solutions?

Assign 4-addr net per each STA: AP STA1 bcast AP STA2 bcast

Set up routing between those STAs you want to talk to each other:
on STA1: ip r a via
on STA2: ip r a via

More information about the Hostap mailing list