forwarding packets from wireless nic wlan0 to another Wireless nic wlan1
Posted
by
user179759
on Server Fault
See other posts from Server Fault
or by user179759
Published on 2013-06-30T13:26:17Z
Indexed on
2013/06/30
16:22 UTC
Read the original article
Hit count: 552
- I have two wireless interfaces wlan0, wlan1
- I want wlan0 to be connected to the internet via a wireless router
- and I want wlan1 to be in AP mode acting as a router to give internet access to whoever connectes to it.
So basically all packets coming through wlan1 should be forwarded to wlan0 => Router => Internet. That's including DNS/DHCP/etc..
[A]~~~~~(Wi-Fi)~~~~~~v
[B]~~~~~(Wi-Fi)~~~> [me] ~~~~(Wi-Fi)~~~~~>[AP/Router]------->[internet]
[C]~~~~~(Wi-Fi)~~~~~~^
Any idea how can I do this?
ps: I tried using bridges but I always get 'operation not supported' using the brctl tool.
© Server Fault or respective owner