Genymobile / gnirehtet

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

Gnirehtet Sharing #200

Open rj-inovino opened 5 years ago

rj-inovino commented 5 years ago

I'm using gnirehtet to use my PC internet connection for my smartphone, but i want to share that connection from my smartphone to other devices thru hotspot or bluetooth. is this possible?

rom1v commented 5 years ago

Hotspot, I don't think so (see #95). Bluetooth, I have no idea.

RoachWZ commented 4 years ago

Me too.

kelvitz716 commented 4 years ago

Hi Dev, thanks for this awesome app. I've been using it since I got it. I have been able to share data through wifi using VPN Hotspot app from the Google Play store https://play.google.com/store/apps/details?id=be.mygod.vpnhotspot

Alexmerser54 commented 4 years ago

@kelvitz716 How did you do that? When I start VPN Wi-Fi Hotspot, I have no Internet connection. In Gnirehtet logs I see UDPConnection to my Wi-Fi clients, but no there is no TCP and Internet doesnt work

kelvitz716 commented 4 years ago

@Alexmerser54 set IP masquerade Mode to "Android Netd Service" and Network status monitor mode to "Netlink monitor with root". You need to have root. Let all other setting be the default. Lastly, click the " Clean/reapply routing rules"

jemets320 commented 2 years ago

@kelvitz716 , @Alexmerser54 i've tried using VPN Hotspot, there's no connection when i connect to the hotspot, so i try using VPN from device that i want to connect, then it works, both hotspot and bluetooth

huynhphong1611 commented 2 years ago

use https://play.google.com/store/apps/details?id=be.mygod.vpnhotspot ok. When device rooted. I tested all android version.

piratesephiroth commented 2 years ago

yeah, it's also availabe here at github

https://github.com/Mygod/VPNHotspot

qingxiaoQAQ commented 2 years ago

@Alexmerser54 IP 伪装模式设置为"Android Netd 服务",将网络状态监视器模式设置为"使用 root 的 Netlink 监视器"。你需要有根。让所有其他设置为默认值。最后,单击"清理/重新应用路由规则" With VPN hotspot, I can connect to the wireless relay, but why is the network speed so slow that I can't access the website and can only send messages? How to set it specifically

HellsingMatt commented 2 years ago

@Alexmerser54 set IP masquerade Mode to "Android Netd Service" and Network status monitor mode to "Netlink monitor with root". You need to have root. Let all other setting be the default. Lastly, click the " Clean/reapply routing rules"

just followed this, but got a Tethering Error when active hotspot, then enable mobile data and re-active hotspot, and checked the ip address via whatsmyip, its my mobile data's ip, in VPNHotspot, tun0 already the upstream interface, any idea ?

qingxiaoQAQ commented 1 year ago

@kelvitz716,@Alexmerser54我尝试使用VPN热点,当我连接到热点时没有连接,所以我尝试从我想连接的设备使用VPN,然后它可以工作,热点和蓝牙

Can you elaborate on how to operate, such as the software and steps to be used

mykesXD commented 1 year ago

You can use Every Proxy to start HTTP proxy server with gnirehtet's IP (10.0.0.2) and start your Wifi Hotspot as usual When connecting to it you need to add matching proxy and port to that wifi's advanced settings No root required

elswerky commented 1 year ago

Hi Dev, thanks for this awesome app. I've been using it since I got it. I have been able to share data through wifi using VPN Hotspot app from the Google Play store https://play.google.com/store/apps/details?id=be.mygod.vpnhotspot

How ? I tried this app but failed to share wifi hotspot Still doesn't detect internet in other device

krishna17gs commented 6 months ago

Any other resolution to share internet using hotspot to other client when we use gnirehtet.

yuanjv commented 5 months ago

Any other resolution to share internet using hotspot to other client when we use gnirehtet.

After contemplating the use of a proxy to share gnirehtet's internet connection, I suddenly realize that gnirehtet may be unnecessary if you have a Wi-Fi adapter on your Linux machine. If you possess a Wi-Fi adapter on your Linux machine, you can effectively have the Linux machine join the hotspot and initiate a proxy server using Squid, thereby proxying everything through it.

zyx486013 commented 1 month ago

you can try this:https://github.com/xinruoyusixian/android-reverse-tethering-master I modify a Xray version of this :https://github.com/zyx486013/android-reverse-tethering-v2-win7x86 Based on my testing, the Xray version supports VPN Hotspot or the built-in SOCKS proxy.