{"action":"created","issue":{"url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106","labels_url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106/comments","events_url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106/events","html_url":"https://github.com/zhuzhuor/Unblock-Youku/issues/106","id":18069601,"number":106,"title":"打造簡便unblock youku路由器(使用openwrt + privoxy)","user":{"login":"karlcheong","id":1787644,"avatar_url":"https://avatars.githubusercontent.com/u/1787644?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcheong","html_url":"https://github.com/karlcheong","followers_url":"https://api.github.com/users/karlcheong/followers","following_url":"https://api.github.com/users/karlcheong/following{/other_user}","gists_url":"https://api.github.com/users/karlcheong/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcheong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcheong/subscriptions","organizations_url":"https://api.github.com/users/karlcheong/orgs","repos_url":"https://api.github.com/users/karlcheong/repos","events_url":"https://api.github.com/users/karlcheong/events{/privacy}","received_events_url":"https://api.github.com/users/karlcheong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":106,"created_at":"2013-08-14T18:48:55Z","updated_at":"2015-01-16T15:39:42Z","closed_at":"2013-08-14T18:49:00Z","body":"記得很久前有人就問過 在路由器如何設置Unblock Youku\r\n後來更有一篇教程, 通過squid來達成Unblock Youku功能\r\n\r\n對於一般家居用的路由器來說,都是基於MIPS LE(Boardcom)或MIPS BE(Atheros)\r\nunblock youku伺服器使用之Node.js對MIPS支援性很差, 很難用來運行轉發代理\r\n而 squid 倒是可以在家用路由器運行, 不過一來squid設定複雜我不會設, 二來\r\n我正好在 #80 中為了給Android也能解鎖, 用privoxy 運行轉發代理\r\n可以直接把設定搬過來用, 所以這個教程使用的軟件為privoxy\r\n\r\n要求:\r\n已安裝OpenWRT系統的路由器\r\n\r\n1 SSH進去路由, 然後輸入指令安裝 privoxy\r\n    opkg update\r\n    opkg install privoxy\r\n\r\n2 把規則文件及basicsetting設定文件, 放到 /etc/privoxy\r\n\r\nhttps://github.com/karlcheong/unblock_youku_privoxy_rules\r\n\r\n3 輸入指令啟動 privoxy \r\n    /etc/init.d/privoxy start\r\n\r\n(可選:)輸入指令, 使路由啟動時自動運行 privoxy 代理\r\n    /etc/init.d/privoxy enable\r\n\r\n4 把要解鎖的裝置設定代理為  路由區域網IP:8123\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/comments/70271143","html_url":"https://github.com/zhuzhuor/Unblock-Youku/issues/106#issuecomment-70271143","issue_url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106","id":70271143,"user":{"login":"biankasyo","id":10541658,"avatar_url":"https://avatars.githubusercontent.com/u/10541658?v=3","gravatar_id":"","url":"https://api.github.com/users/biankasyo","html_url":"https://github.com/biankasyo","followers_url":"https://api.github.com/users/biankasyo/followers","following_url":"https://api.github.com/users/biankasyo/following{/other_user}","gists_url":"https://api.github.com/users/biankasyo/gists{/gist_id}","starred_url":"https://api.github.com/users/biankasyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biankasyo/subscriptions","organizations_url":"https://api.github.com/users/biankasyo/orgs","repos_url":"https://api.github.com/users/biankasyo/repos","events_url":"https://api.github.com/users/biankasyo/events{/privacy}","received_events_url":"https://api.github.com/users/biankasyo/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T15:39:42Z","updated_at":"2015-01-16T15:39:42Z","body":"之前8123端口无法成功，是因为自行安装的opt环境绝对路径与basicsetting中的config路径不同导致privoxy启动失败，在修改config后8123端口方式已成功，在尝试进阶版时，同样遇到了与之前回复中相同问题因系统不同卡在了第4步，在Padavan固件中dnsmasq用的是系统/etc/resolv.conf，因此修改了/etc/storage/dnsmasq/dnsmasq.conf的配置文件，在其中添加addn-hosts=/opt/etc/privoxy/basehosts及server=8.8.8.8，目前通过http://uku.im/check检测为true，打开youku主页没有问题，但访问视频页面时提示Maximum number of open connections reached，不知问题出在哪里，还请赐教，多谢！"}}