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 的情况下,获取的 ip 有误 #120

Closed
MoonBottle opened this issue Jun 22, 2023 · 6 comments
Closed

开了 vpn 的情况下,获取的 ip 有误 #120

MoonBottle opened this issue Jun 22, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@MoonBottle
Copy link

image

Windows IP 配置


未知适配器 本地连接:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::5e3a:878e:919a:c767%23
   IPv4 地址 . . . . . . . . . . . . : 192.168.63.61
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

未知适配器 BCC:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::896d:973b:2597:105d%11
   自动配置 IPv4 地址  . . . . . . . : 169.254.195.44
   子网掩码  . . . . . . . . . . . . : 255.255.0.0
   默认网关. . . . . . . . . . . . . :

未知适配器 tun2socks:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::8d:1306:5ae2:fef5%55
   IPv4 地址 . . . . . . . . . . . . : 192.0.2.233
   子网掩码  . . . . . . . . . . . . : 255.255.255.255
   默认网关. . . . . . . . . . . . . :

以太网适配器 以太网:

   连接特定的 DNS 后缀 . . . . . . . :
   IPv6 地址 . . . . . . . . . . . . : 240e:3a1:d60:fea0::79
   IPv6 地址 . . . . . . . . . . . . : 240e:3a1:d60:fea0:18e8:e44:9b0a:8d33
   临时 IPv6 地址. . . . . . . . . . : 240e:3a1:d60:fea0:59b9:ca7d:4838:47e
   本地链接 IPv6 地址. . . . . . . . : fe80::4061:9fa5:f095:6b39%13
   IPv4 地址 . . . . . . . . . . . . : 192.168.31.79
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : fe80::8ac3:97ff:fec1:c01a%13
                                       192.168.31.1

无线局域网适配器 本地连接* 1:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接
   连接特定的 DNS 后缀 . . . . . . . :

无线局域网适配器 本地连接* 2:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接
   连接特定的 DNS 后缀 . . . . . . . :

无线局域网适配器 WLAN:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接
   连接特定的 DNS 后缀 . . . . . . . :

以太网适配器 VMware Network Adapter VMnet1:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::23f3:9410:c7b4:40b7%5
   IPv4 地址 . . . . . . . . . . . . : 192.168.79.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

以太网适配器 VMware Network Adapter VMnet8:

   连接特定的 DNS 后缀 . . . . . . . :
   IPv6 地址 . . . . . . . . . . . . : fd15:4ba5:5a2b:1008:5337:8865:d57b:44e8
   临时 IPv6 地址. . . . . . . . . . : fd15:4ba5:5a2b:1008:84e0:9e84:4781:6d10
   本地链接 IPv6 地址. . . . . . . . : fe80::768:58bb:f74a:5904%12
   IPv4 地址 . . . . . . . . . . . . : 192.168.80.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : fe80::250:56ff:fec0:2222%12

以太网适配器 蓝牙网络连接:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接
   连接特定的 DNS 后缀 . . . . . . . :

以太网适配器 vEthernet (WSL):

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::2409:60fe:d19f:85a6%45
   IPv4 地址 . . . . . . . . . . . . : 172.26.0.1
   子网掩码  . . . . . . . . . . . . : 255.255.240.0
   默认网关. . . . . . . . . . . . . :

开了 vpn 的情况下,获取的 ip 有误,是否可以自行选择使用哪个 ip 进行分享

@terwer
Copy link
Owner

terwer commented Jun 22, 2023

可以在链接选项加一个配置,支持选择ip,另外,这个ip是思源本体检测的,需要开启伺服才能用。

@terwer terwer self-assigned this Jun 22, 2023
@terwer terwer added the enhancement New feature or request label Jun 22, 2023
@terwer
Copy link
Owner

terwer commented Jun 25, 2023

已经支持ip选择,但是由于权限问题,只有PC客户端才能获取IP。
如果是docker,可通过设置自定义域名解决。

@terwer terwer closed this as completed Jun 25, 2023
@terwer
Copy link
Owner

terwer commented Jun 25, 2023

请升级1.6.0

因为是非常用选项,默认折叠,需手动打开

image

@MoonBottle
Copy link
Author

image

似乎有点尴尬 -c- ,只获取到了一个 ip

@terwer
Copy link
Owner

terwer commented Jul 1, 2023

image

似乎有点尴尬 -c- ,只获取到了一个 ip

这样的话,其实你也可以自定义域名里面配置 完整前缀。因为node获取ip可能权限不那么够。

image

@MoonBottle
Copy link
Author

阔以,自定义能就不用每次复制完路径改ip了 [点赞][点赞][点赞]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants