Windows: 如何配置IPv6隧道
清空隧道配置:
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隧道的更多相关文章
- 在 Windows 中为高级用户配置 IPv6 的指南
在 Windows 中为高级用户配置 IPv6 的指南 适用于: Windows 10, version 1809Windows Server 2019, all versionsWindows Se ...
- 在 Windows 7 中禁用IPv6协议/IPv6隧道
How to disable certain Internet Protocol version 6 (IPv6) components in Windows Vista, Windows 7 and ...
- [linux]为阿里云ECS(CentOS7)配置IPv6地址
环境为:ECS"经典网络"类型 步骤: 1. 编辑 /etc/sysctl.conf 文件,将其中三条禁用IPv6的设置更改为: net.ipv6.conf.all.disable ...
- 第11章 拾遗4:IPv6(2)_给计算机配置IPv6地址
4. 给计算机配置IPv6地址 4.1 无状态自动配置IPv6地址 (1)网络拓扑 ①无状态地址自动配置是指不需要DHCP服务器进行管理,由客户端向路由器发送前缀请求(RS)询问其所在网段.路由器收到 ...
- Nginx配置IPv6端口监听及务器设置IPV6及Https支持并通过AppStore审核
一.监听端口 从Nginx 1.3的某个版本起,默认ipv6only是打开的,所以,我们只需要在监听中加入ipv6监听即可,不过推荐都手动加上比较好,代码如下: listen [::]: ipv6on ...
- IPv6系列-彻底弄明白有状态与无状态配置IPv6地址
深入研究自动分配IPv6地址的Stateless(无状态)与Stateful(有状态)方式 小慢哥的原创文章,欢迎转载 目录 ▪ 一. Link-Local Address的生成方式 ▪ 二. Glo ...
- windows下配置apache+php环境
PHP安装 由于windows下php扩展5.6的多余7.0,故以php5.6为开发环境.如果对扩展要求不高,可以使用php7,安装过程类似. 约定: 环境安装目录: D:/phpsetup/ |-- ...
- 在windows下面配置redis集群遇到的一些坑
最近工作不忙,就决定学习一下redis.因为一直在windows下工作,不会linux,没办法就选择在windows下配置redis. windows下配置redis集群的文章有很多,比如:http: ...
- Windows服务器安装配置PHP7.0环境图文教程
摘自http://www.111cn.net/phper/linux-php/109865.htm Windows服务器安装配置PHP7.0环境图文教程 www.111cn.net 更新:2016-0 ...
随机推荐
- CodeForces - 955B(用char会超时。。。)
#include <bits/stdc++.h> #define mem(a, b) memset(a, b, sizeof(a)) using namespace std; , INF ...
- [您有新的未分配科技点]博弈论入门:被博弈论支配的恐惧(Nim游戏,SG函数)
今天初步学习了一下博弈论……感觉真的是好精妙啊……希望这篇博客可以帮助到和我一样刚学习博弈论的同学们. 博弈论,又被称为对策论,被用于考虑游戏中个体的预测行为和实际行为,并研究他们的应用策略.(其实这 ...
- windows7下的64位redis安装简介
在网上找了好多,指向的都是同一个地址,可惜打不开.https://github.com/MSOpenTech/redis/releases.网址被禁掉了.终于找到一篇有用的帖子,安装成功.感谢仁兄ko ...
- 【纪念】NOIP2018后记——也许是一个新的起点
如果你为了失去太阳而哭泣,那么你也将失去星星和月亮. —— 泰戈尔<飞鸟集> NOIP结束了,我挂了一道题……曾经在心中觉得怎么都不会考到的分数,就这么冷冷的出现在了我的成绩单上.的确是比 ...
- Red Hat下升级python的问题
分为两部分: 一,升级Python 安装的包的渠道(传送门),安装过程的渠道(传送门). 二.涉及的问题 1.yum不能使用 解决办法(传送门),其中的部分就行.
- Linux系统启动详解(一)
本篇主要以Centos为例,讲述整个Linux系统启动过程,包括了grub引导,initramfs流程,/sbin/init执行rc.sysinit及rc的大体流程. 另外,本篇有一个实例来说明,将整 ...
- C++之高级编程20170914
/*************************************************************************************************** ...
- 2018南京ICPCMediocre String Problem 马拉车
hash+二分求出最长公共前缀 然后马拉车+前缀和计数 #include <cstdio> #include <cstring> #include <queue> ...
- 题解【CF277E Binary Tree on Plane】
Description 给你平面上 \(n\) 个点 \((2 \leq n \leq 400)\),要求用这些点组成一个二叉树(每个节点的儿子节点不超过两个),定义每条边的权值为两个点之间的欧几里得 ...
- 删除docker网络docker0
yum -y install bridge-utils ifconfig docker0 down brctl delbr docker0