The Situation: I've got Android running on my Cubietruck. Now I want to share the existing Internet Connection (Wifi) with my Win8 Desktop PC over Ethernet, so the stream would be

Internet –wifi→ Cubie –ethernet→ PC

I just found a thousend tutorials about making this the other way round. Is there any way to make this possible?

  • @Izzy Yes, thats right. So the stream would be Internet --wifi-> Cubie --ethernet-> PC. – Leonard May 3 '14 at 14:20

I'd suggest using iptables. You can find more about theme here - definitely take a look into simple usage example.

The only one problem is that iptables binary isn't really built-in into Android. But hey, they came up with solution already

So you can even use the example from Ubuntu help now!

Ok this is what I "THINK" you can do because I was thinking the same thing.

You need an wifi extender with ethernet port connection.

send your phone's hotpot data to the wifi extender then connect to your router than you can do anything you want. Hope this work!!

  • A phone can't receive and send WiFi at the same time I think. But if the WiFi router/extender receives the signal it can share it on ethernet and WiFI. So then a phone can pick up WiFi while PC ethernet. – Emil Sep 3 '17 at 15:48
  • @Emil some can do both like me Samsung Galaxy S8, but there aren't many with that capability – DanHolli Nov 15 '17 at 7:15
  • Wow, with stock rom? That's pretty cool. I've never seen a non-dedicated device that could be even "hacked" to do this. So in other words you can setup your phone as a WiFi repeater meanwhile using the phone itself to browse internet? – Emil Nov 17 '17 at 10:50

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.