浏览代码

no udp hole punch for docker

afeiszli 3 年之前
父节点
当前提交
279fa1d3a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/netclient.sh

+ 1 - 1
scripts/netclient.sh

@@ -11,7 +11,7 @@ if [ "$TOKEN" != "" ]; then
     TOKEN_CMD="-t $TOKEN"
 fi
 
-/root/netclient join $TOKEN_CMD -daemon off -dnson no
+/root/netclient join $TOKEN_CMD -daemon off -dnson no -udpholepunch no
 if [ $? -ne 0 ]; then { echo "Failed to join, quitting." ; exit 1; } fi
 
 echo "[netclient] Starting netclient checkin"