清空隧道配置:

netsh interface ipv6 set teredo disable
netsh interface ipv6 6to4 set state disable
netsh interface ipv6 isatap set state disable

Teredo:

可以穿越NAT通过将IPv6数据包封装在UDP中访问IPv6网络
公共Teredo服务器地址列表:

  • teredo.remlab.net / teredo-debian.remlab.net (法国) (Miredo 默认设置)
  • teredo.autotrans.consulintel.com (西班牙)
  • teredo.ipv6.microsoft.com (美国 雷蒙德) (Windows XP/2003/Vista/7/2008 系统默认设置)
  • teredo.ngix.ne.kr (韩国)
  • teredo.managemydedi.com (美国 芝加哥)

设置方法:

netsh interface ipv6 set teredo enterpriseclient teredo.managemydedi.com. 60 34567

检查状态:

netsh interface ipv6 show teredo

Teredo Parameters
---------------------------------------------
Type : enterpriseclient
Server Name : teredo-debian.remlab.net.
Client Refresh Interval : 60 seconds
Client Port : 34567
State : qualified
Client Type : teredo client
Network : managed
NAT : symmetric (address)
NAT Special Behaviour : UPNP: Yes, PortPreserving: Yes
Local Mapping : 192.168.1.103:34567
External NAT Mapping : 49.75.31.52:34567

/!\注意:已知Windows系统中应用程序无法通过Teredo接口进行DNS解析

Due to current absence of Teredorelays on the Internet, connections to native IPv6 addresses are unlikely to succeed over the Teredo interface. If WSAConnectByName is called, Windows Vista will not issue AAAA queries when Teredo is the only IPv6 capable interface available. This ensures that native IPv6 addresses are not obtained as a destination and that connections are attempted over IPv4, which has the highest chance of success. In order to obtain IPv6 addresses when Teredo is the only IPv6 capable interface, anapplication must explicitly use the Dns Query API for AAAA records.

ISATAP:

注意:需要PC机具有公网IPv4地址,不支持NAT后的主机访问
目前教育网上大部分高校均提供ISATAP隧道:

  • 上海交通大学isatap.sjtu.edu.cn
  • 北京邮电大学isatap.bupt.edu.cn
  • 清华大学isatap.tsinghua.edu.cn和59.66.4.50
  • 华中科技大学isatap.hust.edu.cn
  • 台湾:tb.ipv6.apol.com.tw
  • 台湾 isatap.ipv6.chttl.com.tw(202.39.142.146)
  • 韩国 isatap.ngix.ne.kr(203.254.38.129)
  • 波兰 isatap.icpnet.pl(62.21.98.6)

设置方法:

netsh interface ipv6 set teredo disable
netsh interface ipv6 6to4 set state disable
netsh interface ipv6 isatap set router isatap.sjtu.edu.cn
netsh interface ipv6 isatap set state enable

6to4:

注意:需要PC机具有公网IPv4地址,不支持NAT后的主机访问
目前教育网上大部分高校均提供6to4隧道:

  • 上海交大 202.112.26.246
  • 北京大学 222.29.159.10
  • 6to4.ipv6.chttl.com.tw(202.39.142.146)
  • infonet.ipv6.ustc.edu.cn(202.38.75.75)
  • kddilab.6to4.jp(202.255.45.5)
  • 6to4.ngix.ne.kr(203.254.38.130)
  • 6to4.ipv6.microsoft.com(131.107.33.60,192.88.99.1)

设置方法:

netsh interface ipv6 6to4 set state enable

本文出自 Lesca技术宅,转载时请注明出处及相应链接。

本文永久链接: http://lesca.me/archives/how-to-build-ipv6-tunnel-on-windows.html

Windows: 如何配置IPv6隧道的更多相关文章

  1. 在 Windows 中为高级用户配置 IPv6 的指南

    在 Windows 中为高级用户配置 IPv6 的指南 适用于: Windows 10, version 1809Windows Server 2019, all versionsWindows Se ...

  2. 在 Windows 7 中禁用IPv6协议/IPv6隧道

    How to disable certain Internet Protocol version 6 (IPv6) components in Windows Vista, Windows 7 and ...

  3. [linux]为阿里云ECS(CentOS7)配置IPv6地址

    环境为:ECS"经典网络"类型 步骤: 1. 编辑 /etc/sysctl.conf 文件,将其中三条禁用IPv6的设置更改为: net.ipv6.conf.all.disable ...

  4. 第11章 拾遗4:IPv6(2)_给计算机配置IPv6地址

    4. 给计算机配置IPv6地址 4.1 无状态自动配置IPv6地址 (1)网络拓扑 ①无状态地址自动配置是指不需要DHCP服务器进行管理,由客户端向路由器发送前缀请求(RS)询问其所在网段.路由器收到 ...

  5. Nginx配置IPv6端口监听及务器设置IPV6及Https支持并通过AppStore审核

    一.监听端口 从Nginx 1.3的某个版本起,默认ipv6only是打开的,所以,我们只需要在监听中加入ipv6监听即可,不过推荐都手动加上比较好,代码如下: listen [::]: ipv6on ...

  6. IPv6系列-彻底弄明白有状态与无状态配置IPv6地址

    深入研究自动分配IPv6地址的Stateless(无状态)与Stateful(有状态)方式 小慢哥的原创文章,欢迎转载 目录 ▪ 一. Link-Local Address的生成方式 ▪ 二. Glo ...

  7. windows下配置apache+php环境

    PHP安装 由于windows下php扩展5.6的多余7.0,故以php5.6为开发环境.如果对扩展要求不高,可以使用php7,安装过程类似. 约定: 环境安装目录: D:/phpsetup/ |-- ...

  8. 在windows下面配置redis集群遇到的一些坑

    最近工作不忙,就决定学习一下redis.因为一直在windows下工作,不会linux,没办法就选择在windows下配置redis. windows下配置redis集群的文章有很多,比如:http: ...

  9. Windows服务器安装配置PHP7.0环境图文教程

    摘自http://www.111cn.net/phper/linux-php/109865.htm Windows服务器安装配置PHP7.0环境图文教程 www.111cn.net 更新:2016-0 ...

随机推荐

  1. Ubuntu18.04 创建与编辑热点的方法

    在终端输入 nm-connection-editor 修改Hotspot,里边有热点名称及密码 当修改完了这些,要关闭热点,重新打开,这样才会生效!

  2. 洛谷 P3376 【模板】网络最大流

    题目描述 如题,给出一个网络图,以及其源点和汇点,求出其网络最大流. 输入输出格式 输入格式: 第一行包含四个正整数N.M.S.T,分别表示点的个数.有向边的个数.源点序号.汇点序号. 接下来M行每行 ...

  3. 【刷题】BZOJ 2096 [Poi2010]Pilots

    Description Tz又耍畸形了!!他要当飞行员,他拿到了一个飞行员测试难度序列,他设定了一个难度差的最大值,在序列中他想找到一个最长的子串,任意两个难度差不会超过他设定的最大值.耍畸形一个人是 ...

  4. Redis的Sorted Set有序集合命令

    Sorted Set是Set的一个升级版本,它在Set的基础上增加了一个顺序属性,这一属性在添加修改元素的时候可以指定,每次指定后,zset会自动重新按新的值调整顺序.可以理解为有两列的mysql表, ...

  5. Oracle10g数据泵impdp参数详解--摘自网络

    Oracle10g数据泵impdp参数详解 2011-6-30 12:29:05 导入命令Impdp •      ATTACH 连接到现有作业, 例如 ATTACH [=作业名]. •      C ...

  6. “Spring.Context.Support.ContextRegistry”的类型初始值设定项引发异常。-解决方法

    注释掉web/app.config中的:

  7. 03-树2. List Leaves (25) 二叉树的层序遍历

    03-树2. List Leaves (25) 题目来源:http://www.patest.cn/contests/mooc-ds/03-%E6%A0%912 Given a tree, you a ...

  8. IDEA调试服务器上部署的程序

    提出问题: 一个程序,部署在自己的电脑上,debug调试,相信大家都会,但是,如果我想debug调试非本地部署的程序怎么办呢.比如测试服务器上部署的程序. 其实这样的需求也是经常有的,比如一个大型的项 ...

  9. UVA 1390 Interconnect

    https://vjudge.net/problem/UVA-1390 题意: 给出n个点m条边的无向图, 每次随机加一条非自环的边,(加完后可出现重边), 添加每条边的概率是相等的 求使图连通的期望 ...

  10. 扫描线(线段树)+贪心 ZOJ 3953

    http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5572 Intervals Time Limit: 1 Second       ...