Tag Info

Hot answers tagged


Replace domain-name-servers; by the address of the dns server used by the laptop, or configure a dns cache server on your laptop. Use commands like nslookup or host to test the dns access on the client. You need to enable masquerading on the laptop with iptables: iptables -t nat -I POSTROUTING -s -o <wifi_interface> ...


I got the answer by myself. The issue was with the iptables command. It was necessary to specify the output device and also set the forward policy. iptables -t nat -A POSTROUTING -o rmnet_usb0 -j MASQUERADE iptables -P FORWARD ACCEPT After that internet becomes accessible on the linux box side. Hope this helps somebody in the same situation.

Only top voted, non community-wiki answers of a minimum length are eligible