movic
Posts: 1
Joined: Sat Mar 26, 2016 9:01 pm

[Problem] Rpi + usb Huawei e3372 + wifi - hotspot

Sat Mar 26, 2016 9:11 pm

Hello Guys,

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.

madrian
Posts: 29
Joined: Tue Aug 28, 2012 6:48 pm

Re: [Problem] Rpi + usb Huawei e3372 + wifi - hotspot

Wed Jul 26, 2017 8:52 pm

Did you solve this issue? I have same problem.

Return to “Networking and servers”