简单修改hosts文件上YouTube

YouTube被封想必给大家造成了一定的影响。不过,现在,我们只要改一下hosts文件就可以上YouTube了。方法如下:

  1. Linux/Mac用户(参考iFanr论坛):
    管理员权限执行以下两条语句(使用sudo su或su获得权限):
    echo "203.208.39.104 www.youtube.com" >>/etc/hosts
    echo "203.208.33.100 gdata.youtube.com" >>/etc/hosts
  2. Windows用户:
    用记事本打开C:\windows\system32\drivers\etc\hosts文件,添加两行:
    203.208.39.104 www.youtube.com
    203.208.33.100 gdata.youtube.com

然后就可以上www.youtube.com了!

enjoy!

4 thoughts on “简单修改hosts文件上YouTube

    • 不能直接用ip上的……你要更新hosts文件!Mac用户请用第一种方法。
      不过……这个方法似乎已经失效了。要上YouTube可以考虑Tor+AutoProxy。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">