Report comment

Hi Roboberry,

Many thanks for the response. I have now moved the nohook wpa_supplicant into the interface specification.

Yes it does re-enable the wifi for wlan1 (and yes this is connected to the router).

You are correct that connections connected to wlan0 loose internet when the ethernet is removed. However, I do want traffic routed from the AP to the Wireless connection (creating a wifi repeater) so when connected to the AP I can still access the internet but also use ssh etc on the AP.

I have tried using different iptables commands to re-route from wlan0 to wlan1 but to no avail.

The commands tried are

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

Do you have any suggestions?

Many thanks for the help.