Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPN not tethering for HTTP Injector (SSH mode) #16

Closed
frozonecom opened this issue Apr 26, 2018 · 10 comments
Closed

VPN not tethering for HTTP Injector (SSH mode) #16

frozonecom opened this issue Apr 26, 2018 · 10 comments
Labels

Comments

@frozonecom
Copy link

Good day!

I would like to report that I cannot tether my VPN connection on my Pixel 2 XL to my laptop (win10). I am using HTTP injector for my VPN and when I activate my repeater, when I connect my laptop to the SSID I set up, my computer shows that I have no internet access. Here is the log file.
vpnhotspot-8433047002049625497.log
vpnhotspot-4042860800249083886.log

@Mygod
Copy link
Owner

Mygod commented Apr 26, 2018

As far as I can tell, this app is working well on your device, however you also seem to be using some other VPN tethering app that didn't have their rules cleaned up after it is shut down. Can you do a reboot, uninstall/disable those apps and try again?

@frozonecom
Copy link
Author

Hello, I am using PdaNet+ to tether my vpn to my laptop for the meantime. I have uninstalled the app and did a reboot. I tried running your app again and tried connecting my laptop, and still no internet. Here is the log file again.
It might help to tell you that in my quest to tether vpn connection, I have applied these commands in a terminal emulator with root. Here are the commands I did (though it was only one time and I rebooted after I found out it did not work). I might have created a problem because of it.

Code:
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61
vpnhotspot-5777235737527819074.log

Help would be very much appreciated. Thank you!

@Mygod
Copy link
Owner

Mygod commented Apr 26, 2018

It seems like HTTP Injector (direct SSH mode) seems to be using some very weird DNS mechanisms. Try these workarounds meanwhile:

  1. turning off "DNS Forwarding" in HTTP Injector or
  2. switch tunnel type to Shadowsocks instead of SSH or
  3. use other VPN apps.

@Mygod Mygod changed the title VPN not tethering VPN not tethering for HTTP Injector (SSH mode) May 6, 2018
@darkii321
Copy link

ERRO

Folder C:\Users\work\Desktop\VPNHotspot\mobile\build\generated\source\kaptKotlin\debug

Folder C:\Users\work\Desktop\VPNHotspot\mobile\build\generated\source\kaptKotlin\release

3rd-party Gradle plug-ins may be the cause

@Mygod
Copy link
Owner

Mygod commented May 31, 2018

@darkii321 This is an issue of kapt. Please report to them instead. I just ignored those. Also please open a separate issue in the future instead of doing off-topic conversations at various threads.

@18774802841
Copy link

I am from China to give suggestions to the software. The network name cannot be set up in Chinese.
Unable to establish open wireless networks

1 similar comment
@18774802841
Copy link

I am from China to give suggestions to the software. The network name cannot be set up in Chinese.
Unable to establish open wireless networks

@Mygod
Copy link
Owner

Mygod commented Jun 6, 2018

@18774802841 Please open a separate issue and supply devices involved and steps to reproduce. I'm using a network name with emojis and it works just fine.

@18774802841
Copy link

Is it a bit incomprehensible to make it clear? How to build a wireless network without a password

@Mygod
Copy link
Owner

Mygod commented Aug 26, 2018

I just tested again and it seems like the latest versions are working properly. Closing this.

@Mygod Mygod closed this as completed Aug 26, 2018
@Mygod Mygod removed the help wanted label Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants