I need my RPi to play music and act as an WLan Access Point.
Installing MusicBox was super easy. Configure the Raspi to act as a WLan Router was a bit tricky but worked in the end, except that all http traffic is somehow redirected to the musicbox webserver.
Connection to AP ist OK
DHCP Server ist OK and provides client with IP, DNS, GW address
DNS is OK, google.com -> correct IP Address
I can use Apps on my Mobile - Google Maps, Email, WhatsApp, … all working
If I open any url in the browser, all traffic is redirected to the musixbix webserver.
Any idea?
I altered this line not to take all tcp traffic but only the IP of the Pi WLan interface
iptables -t nat -A PREROUTING -p tcp -d 192.168.66.1 --dport 80 -j REDIRECT --to-port 6680