清空隧道配置:

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. C++解析(10):struct和class的区别

    0.目录 1.默认访问级别 2.默认继承方式 2.1 分别独立继承 2.2 struct继承class 2.3 class继承struct 3.小结 1.默认访问级别 在用struct定义类时,所有成 ...

  2. 洛谷 P2195 HXY造公园 解题报告

    P2195 HXY造公园 题目描述 现在有一个现成的公园,有\(n\)个休息点和\(m\)条双向边连接两个休息点.众所周知,\(HXY\)是一个\(SXBK\)的强迫症患者,所以她打算施展魔法来改造公 ...

  3. C++中Vector求最大值最小值

    vector<int> v: 最大值: int max = *max_element(v.begin(),v.end()); 最小值: int min = *min_element(v.b ...

  4. makefile使用笔记(二)变量

    By francis_hao    Oct 30,2017   makefile中可以使用变量,变量有多种类型,下面分别介绍 简单变量 简单变量的命名规则和c语言一致. 给变量赋值就表示创建了这个变量 ...

  5. Selective Search for Object Recognition

    http://blog.csdn.net/charwing/article/details/27180421 Selective Search for Object Recognition 是J.R. ...

  6. Codeforces 543.B Destroying Roads

    B. Destroying Roads time limit per test 2 seconds memory limit per test 256 megabytes input standard ...

  7. Redis 为什么用跳表而不用平衡树

    Redis 为什么用跳表而不用平衡树? 本文是<Redis内部数据结构详解>系列的第六篇.在本文中,我们围绕一个Redis的内部数据结构--skiplist展开讨论. Redis里面使用s ...

  8. [DeeplearningAI笔记]卷积神经网络3.1-3.5目标定位/特征点检测/目标检测/滑动窗口的卷积神经网络实现/YOLO算法

    4.3目标检测 觉得有用的话,欢迎一起讨论相互学习~Follow Me 3.1目标定位 对象定位localization和目标检测detection 判断图像中的对象是不是汽车--Image clas ...

  9. OpenCV---对象测量

    一:获取图像的外接矩形boundingRect和几何距moments import cv2 as cv import numpy as np def measure_object(image): gr ...

  10. [转]C/C++作用域详解

    原文地址:http://www.cnblogs.com/yc_sunniwell/archive/2010/07/14/1777433.html 作用域规则告诉我们一个变量的有效范围,它在哪儿创建,在 ...