清空隧道配置:

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. 简单配置AAA认证与telnet图解

    不罗嗦,直接上图

  2. 什么是P问题,NP问题和NPC问题

    转载自:Matrix67的博客 什么是P问题.NP问题和NPC问题 这或许是众多OIer最大的误区之一.    你会经常看到网上出现“这怎么做,这不是NP问题吗”.“这个只有搜了,这已经被证明是NP问 ...

  3. Linux内核分析第五周——扒开系统调用的“三层皮”(下)

    Linux内核分析第五周--扒开系统调用的"三层皮"(下) 李雪琦+原创作品转载请注明出处 + <Linux内核分析>MOOC课程http://mooc.study.1 ...

  4. Communications link failure;;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure::The ...

  5. 【learning】洲阁筛

    问题描述 快速求素数处点值比较好求的积性函数前缀和 大致过程 Step1.求出一定范围内的素数处点值之和(\(g\)) Step2.利用上面的\(g\)求出一个\(f\)然后用\(f\)求出前缀和 具 ...

  6. 【目标检测大集合】R-FCN、SSD、YOLO2、faster-rcnn和labelImg实验笔记

    R-FCN.SSD.YOLO2.faster-rcnn和labelImg实验笔记 转自:https://ask.julyedu.com/question/7490 R-FCNpaper:https:/ ...

  7. java中Mysql开发

    [IntelliJ IDEA 12使用]导入外部包 http://www.cnblogs.com/haochuang/p/3491959.html JDBC导入包即可 http://blog.163. ...

  8. 「Django」rest_framework学习系列-节流控制

    1.节流自定义类: import time from api import models VISIT_RECORD = {} class VisitThrottle(BaseThrottle): #设 ...

  9. php网摘收藏

    1.thinkphp3.2.3开发手册: http://document.thinkphp.cn/manual_3_2.html 2.ThinkPHP3.2.3的函数汇总:http://www.thi ...

  10. zlib解压缩gzip

    zlib是个著名的开源解压缩库,gzip是一种压缩文件格式. zlib可以压缩原始数据并输出gzip文件,gzip文件中除了压缩数据外,还有描述这些数据的文件头,所以当原始数据较小时,会出现zlib的 ...