【问题标题】:Locally hosted sites not accessible over WiFi无法通过 WiFi 访问的本地托管站点
【发布时间】:2015-03-03 07:35:12
【问题描述】:

MacBook 使用以下设置通过以太网连接到大学网络。

Configure IPv4: Using DHCP
IP Address: 172.17.15.146
Subnet Mask: 255.255.255.0
Router: 172.17.15.254
DNS Server: 172.24.2.71


通过 WiFi 为我的 Android 手机共享我的以太网连接。

IP address: 192.168.2.2
IP settings: Using DHCP


通过这两种设备搜索 MyIP 会得到以下结果。

Your public IP address: 202.78.172.162

library/news/ 等本地网站只能通过第一台设备访问。 2号有没有办法访问这些网站?

【问题讨论】:

    标签: dns wifi local lan


    【解决方案1】:

    MacBook 上的代理服务器可能会让你做你想做的事。它比文件共享更复杂一些,但像http://squidman.net/squidman/ 这样的东西可以让它更容易一些。

    设置代理服务器后,您需要set your Android up to use it。您需要使用 MacBook 的本地 NAT 地址(可能是 192.168.2.1)。

    【讨论】:

      猜你喜欢
      • 2011-11-21
      • 2018-01-19
      • 1970-01-01
      • 2017-08-24
      • 1970-01-01
      • 2010-09-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多