Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
  1. I have two wireless interfaces wlan0, wlan1
  2. I want wlan0 to be connected to the internet via a wireless router
  3. 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.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.