Mygod / VPNHotspot

Share your VPN connection over hotspot or repeater! (root required)
Apache License 2.0
3.41k stars 361 forks source link

[Bug] In LAN, hotspot host can't access client service, but client can access host service. #491

Closed yingshaoxo closed 1 year ago

yingshaoxo commented 1 year ago

Reproduce:

  1. Host open 'repeater'. It has IP of 192.168.49.1/24.
  2. Another phone connect to it, by using simple http server, it got ip address of 192.168.49.32:8080
  3. In host phone, by visiting http://192.168.49.32:8080, I got no response.

But

If I use host phone to start a simple http server service If I use client phone to visit http://192.168.49.1:8080, I got response