惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

博客园 - scott_h

win+linux 搜索工具 道客巴巴 ,文库等 文档下载 (下载图片,再插入WORD,转PDF) VMware 启动问题 Linux insmod 和 modprobe区别 windows 删除驱动 SSD 测试开发 从windows 自动进入BIOS 瑞芯微 RV1106G 硬件参考设计分享,包括原理图、PCB文件以及设计指南 全志性能非常强悍的 A733 SoC 硬件参考设计资料分享 深入WSL与USB:教你如何编译 Linux 内核支持 USB 共享 repo Ubuntu Desktop 22.04 禁用自动更新 repo GDDR DDR 内存中的纠错码 (ECC) 功耗计算 leveldb 缓存后再批量写入 dmesg info smbios info cpphttplib 调用失败记录 解决firefox 无法访问证书过期的网站
查询本地IPV6 地址
scott_h · 2025-09-19 · via 博客园 - scott_h

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位以及以上。 加特殊字母+大小写字母+数字, 破解就要花费很大的算力