I have problem which i can't solve. Maybe someone more experienced will help
I have my RPI with usb Huawei e3372 modem (hilink, which work (internet) just after plugging in.
Everything is configured. Hostapd, ISC-DHCP-Server, NAT, Forwarding, iptables. I tried couple of different methods.
Currently I have this configuration: http://raspberrypihq.com/how-to-turn-a- ... fi-router/
Wifi created by RPI is working. Im connecting to wifi and i have no internet connection. Next step, I'm connecting to rpi with ssh, and on rpi I have internet connection. Rpi is not forwarding internet from eth1 to wlan0 and I don't know why...
I used this iptables configuration:
sudo iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
sudo iptables -A FORWARD -i eth1 -o wlan0 -m state --state RELATED, ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o eth1 -j ACCEPT
Have you any idea how to solve this?
Thanks you very much.