Created
April 4, 2018 01:41
-
-
Save updateing/3527984f1de1c1ac24c65b2cf1f650eb to your computer and use it in GitHub Desktop.
Android phone as gateway
@gcleaves Missing natctrl_FORWARD could imply that these commands are out of date. I have not tried to do this reverse tethering thing on later Android versions.
Looks like it's tetherctrl_FORWARD
nowadays.
just testet on android 12
tetherctrl_FORWARD is correct
but unable to get routing working ...
i have two ethernet connections
eth0 LAN
eth1 WAN
would like to use nat from lan to wan but no success
did somone try this ?
regards
Julian
Hi. Not sure if my notes here might help you: https://gist.github.com/gcleaves/ec7a06f8c0bd436c1bc2eb922a246d26
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I'm trying to get these scripts to work without success. When I run share_lte.sh I see a warning that chain natctrl_FORWARD does not exist. Then when I set my Android IP address as the "router" on my Mac, I can't reach the internet.
My Android is rooted and running Lineage/Android 10 and I've enabled the developer option to keep WLAN and mobile data on at the same time. But I don't understand your comment, "You have to make sure the phone can connect to LTE and WiFi at the same time, e.g. keep portal detection failing." Could that be the problem?