代码拉取完成,页面将自动刷新
同步操作将从 WolfCS/stund 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
rem wnattest.bat
if defined %4 (
goto usage
) else if defined %3 (
goto start
) else (
goto usage
)
:start
stunner %1 -i %2 -i2 %3
if %errorlevel% == -1 (
echo "ERROR! the STUN test program had an error" (
) else if %errorlevel% == 10 (
echo "[PASS] (Address) Restricted Cone NAT with Hairpinning"
) else if %errorlevel% == 21 (
echo "[PASS] Port Restricted Cone NAT with Hairpinning"
) else if %errorlevel% == 8 (
echo "[No NAT] You have open internet access"
) else if %errorlevel% == 2 (
echo "[FAIL] Your (Address) Restricted Cone NAT doesn't do hairpinning"
) else if %errorlevel% == 3 (
echo "[FAIL] Your Port Restricted Cone NAT doesn't do hairpinning"
) else (
echo "[FAIL] You have a NAT or Firewall type which is NOT RECOMMENDED. "
if %errorlevel% LSS 8 (
echo "It also does not support hairpinning"
) else (
each "it does at least support hairpinning"
)
)
goto end
:usage
echo Usage:
echo wnattest <server-ip> <client-primary-ip> <client-secondary-ip>
echo.
echo Example: wnattest 1.1.1.2 192.168.0.2 192.168.0.3
echo.
:end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。