LennartH
Posts: 6
Joined: Wed Aug 09, 2017 10:04 am

access point and two additional interfaces question

Tue Oct 02, 2018 1:55 pm

Hey,
I followed the access point tutorial to set up an AP using the WLAN0 interface.
Now I want to be able to either use the ETH0 or and extra WiFi dongle (WLAN1) to get internet access.
The WiFi dongle connects to my local WiFi without problem.

But how do route in and outgoing traffic from the access point WLAN0 to either ETH0 or WLAN1?

Who can help me with the iptable magic? I'm a bit lost there.
I'd highly appreciate it.

Cheers
l.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: access point and two additional interfaces question

Tue Oct 02, 2018 2:01 pm

Add an additional masquerade for the wlan1 interface, just like the masquerade for the eth0 interface.

LennartH
Posts: 6
Joined: Wed Aug 09, 2017 10:04 am

Re: access point and two additional interfaces question

Tue Oct 02, 2018 8:32 pm

Thanks, I will give that a try!

(Update): Yes, works like a charm. Thx, Tim

Return to “Troubleshooting”