Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

Can't use localhost as DNS #350

Open etam opened 3 years ago

etam commented 3 years ago

I'm using Linux, where NetworkManager manages DNS config by running a local dnsmasq instance, which listens on 127.0.0.1:53.

If I try to run ./gnirehtet run -d 127.0.0.1, then apk on the phone crashes on startup. (other dns addresses works fine)

Gnirehtet version: 2.5

rom1v commented 3 years ago

Use 10.0.2.2 (see #71).

etam commented 3 years ago

Thanks! It works.