How to share network connection from eth0 to wlan0 in AP mode?

I have some issues trying to configure my BBB as fully functional AP.
The BBB is connected on eth0 to my home router. eth0 is a DHCP client for my home LAN.

home router [DCHP server] — ETH0 [DHCP client] — BBB — Wlan0 [AP & DHCP sever] — My laptop [DHCP client]

I managed to enable AP mode on a wifi USB dongle.
From the BBB i can ping

I can successfully connect to the BBB from my laptop acting as a WiFi client.
I am not able to surf the web from my laptop.

some conf files:

cat /etc/network/interfaces

auto lo

iface lo inet loopback
auto eth0

iface eth0 inet dhcp


auto wlan0
iface wlan0 inet static
hostapd /etc/hostapd/hostapd.conf

So, we actually have this setup in the default image's..

As long as eth0 is present, wlan0 get's setup as wifi ap, routing all
trafic upstream eth0..

Behind the scene's it's actually connman doing the work, remove wlan0
from your /etc/network/interfaces

and just run:

sudo connmanctl enable wifi
sudo connmanctl tether wifi on bblack_iot ${wifi_password}

Or just grab the IOT image on a 2nd microSD card:


you can also manually edit


here's our defualt: