0

I followed this guide https://pimylifeup.com/raspberry-pi-wireless-access-point/ on how to setup an Ethernet to WiFi access point using the built in RPi WiFi adapter successfully. I connected my phone via the Pi WiFi and could get online.

I then connected my Edimax EW-7811Un WiFi adapter with the hope of using it instead of the Ethernet as the Internet source.

I amended the iptables rules as follows:

sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
sudo iptables -A FORWARD -i wlan0 -o wlan1 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan1 -o wlan0 -j ACCEPT

My phone will connect to the RPi built in WiFi but it has no Internet access even though the Edimax adapter is connected to the Internet and I can browse the web from the Pi.

Any thoughts on why the Ethernet adapter will pass traffic but not the Edimax adapter?

Thanks

chrislacey
  • 96
  • 4

0 Answers0