search

Home  >  Q&A  >  body text

翻墙 - Linux 如何检测被墙?

买了个阿里云的服务器。机房选的香港。想检测被墙用什么命令?

ping youtube.com 有返回ms和ip 本地win下也可以

迷茫迷茫2864 days ago2043

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 13:11:03

    Use your browser to access youtube:
    w3m www.youtube.com
    links www.youtube.com
    To be able to return to the normal homepage (of course it is a text-only version, the page returned is a very bad page with no pictures, but it can be recognized as YouTube)

    Get youtube homepage:
    curl www.youtube.com
    wget www.youtube.com
    To be able to correctly obtain the code of the YouTube homepage.

    You can also use facebook, etc. for testing.

    reply
    0
  • Cancelreply