查询本地IPV6 地址
https://ipw.cn/
https://ipv6ready.me/index.html.zh_CN
# 请勿用于商业用途,仅供个人测试学习之用,请遵守中国法律法规
# 查询本机外网IPv4地址
curl 4.ipw.cn
# 查询本机外网IPv6地址
curl 6.ipw.cn
# 测试网络是IPv4还是IPv6访问优先(访问IPv4/IPv6双栈站点,如果返回IPv6地址,则IPv6访问优先)
curl test.ipw.cn
#以下是路由器没有开启IPV6
C:\Program Files\Microsoft Visual Studio\2022\Community>curl 6.ipw.cn
curl: (6) Could not resolve host: 6.ipw.cn
#以下是路由器开启IPV6,可以获取地址
C:\Program Files\Microsoft Visual Studio\2022\Community>curl 6.ipw.cn
2408:8256:d281:32fa:b013:8690:3bf3:559f
网站获取信息
你的公网 IPv4 地址是 27.44.26.79
你的公网 IPv6 地址是 2408:8256:d281:32fa:b013:8690:3bf3:559f
你的运营商(ISP)是 CHINA169-GZ China Unicom IP network China169 Guangdong province
1.需要在路由器中打开IPV6 功能
2. IPV6 和域名绑定,
3. 使用DDNS-go 绑定 动态IPV6地址。
4. 其他网络,就可以直接访问本地 电脑了
光猫,路由器,关闭IPV6SP 防火墙。
另外路由器 可以设置静态IPV6地址
使用ipconfig查看ipv6地址
C:\Program Files\Microsoft Visual Studio\2022\Community>ipconfig
Windows IP Configuration
Ethernet adapter 以太网:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2408:8256:d281:32fa::309
IPv6 Address. . . . . . . . . . . : 2408:8256:d281:32fa:e2fa:927f:1202:4457
Temporary IPv6 Address. . . . . . : 2408:8256:d281:32fa:b013:8690:3bf3:559f
Link-local IPv6 Address . . . . . : fe80::a9c1:f883:ab6:c9bf%14
IPv4 Address. . . . . . . . . . . : 192.168.31.175
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::5e02:14ff:feb0:e01f%14
192.168.31.1
Wireless LAN adapter WLAN:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter 本地连接* 1:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter 本地连接* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
=======
其中
IPv6 Address. . . . . . . . . . . : 2408:8256:d281:32fa::309
IPv6 Address. . . . . . . . . . . : 2408:8256:d281:32fa:e2fa:927f:1202:4457
是长期IP地址,用于接收网络访问
===========
临时 IPv6 Address
Temporary IPv6 Address. . . . . . : 2408:8256:d281:32fa:b013:8690:3bf3:559f
是windows 隐私保护,用于本地访问外网数据。
重要,
手机APP,浏览器会记录 追踪 你的IPv6地址,
所以使用浏览器最好不要开IPV6地址。
破解系统密码后,别人就可以访问你的主机了。
或者区分,访问外网服务的, 用专门的手机和电脑。
提供服务的 使用另外的电脑。
或者密码设计更复杂 13位以及以上。 加特殊字母+大小写字母+数字, 破解就要花费很大的算力