{"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":101,"created_at":"2013-08-14T18:48:55Z","updated_at":"2015-01-10T06:07:19Z","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/69445060","html_url":"https://github.com/zhuzhuor/Unblock-Youku/issues/106#issuecomment-69445060","issue_url":"https://api.github.com/repos/zhuzhuor/Unblock-Youku/issues/106","id":69445060,"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},"created_at":"2015-01-10T06:07:19Z","updated_at":"2015-01-10T06:07:19Z","body":"@bba56k \r\n我因為換了個 11ac 路由, 已經沒在用openwrt了, \r\n現在是用的一個 raspberry pi 在架設 (一個超微型ARM電腦), \r\n設定和192.241那個DNS代理基本一樣, 也是 dnsmasq+privoxy\r\n\r\n在上面每一步我都解釋了目的, 所以你也可以通過自己的方法做, 能達成效果就可以\r\n我參考最多的就是 \r\nopenwrt (opkg) http://wiki.openwrt.org/doc/techref/opkg\r\n, dnsmasq 的 manpage http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html\r\n和 privoxy 的config/action/filter manpage http://www.privoxy.org/user-manual/index.html\r\n"}}