STUN服务器检测NAT类型

STUN服务器检测NAT类型
STUN服务器
    stun01.sipphone.com
    stun.ekiga.net
    stun.fwdnet.net
    stun.ideasip.com
    stun.iptel.org
    stun.rixtelecom.se
    stun.schlund.de
    stunserver.org
    stun.softjoys.com
    stun.voiparound.com
    stun.voipbuster.com
    stun.voipstunt.com
    stun.voxgratia.org
    stun.xten.com
 
客户端下载:
http://sourceforge.net/projects/stun/
http://nchc.dl.sourceforge.net/project/stun/WinStun/0.96/
使用方法:
用winstun或者命令行运行 stun-client-0-96.exe stun.xten.com 0 -v
返回结果:
About to send msg of len 28 to 120.39.17.246:27001
test I = 1
test II = 0
test III = 0
test I(2) = 1
is nat  = 1
mapped IP same = 1
hairpin = 0
preserver port = 1
Primary: Indepndent Mapping, Port Dependent Filter, preserves ports, no hairpin
Return value is 0x000017

你可能感兴趣的:(vc)