{"id":102,"date":"2021-01-18T17:49:17","date_gmt":"2021-01-18T09:49:17","guid":{"rendered":"http:\/\/blog.ppdd.vip\/?p=102"},"modified":"2021-01-18T17:49:17","modified_gmt":"2021-01-18T09:49:17","slug":"openwrt%e7%b3%bb%e7%bb%9f%e5%ae%89%e8%a3%85http%e4%bb%a3%e7%90%86%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/blog.ppdd.vip\/index.php\/2021\/01\/18\/openwrt%e7%b3%bb%e7%bb%9f%e5%ae%89%e8%a3%85http%e4%bb%a3%e7%90%86%e6%9c%8d%e5%8a%a1\/","title":{"rendered":"openwrt\u7cfb\u7edf\u5b89\u88c5http\u4ee3\u7406\u670d\u52a1"},"content":{"rendered":"<p>openwrt\u7cfb\u7edf\u5b89\u88c5http\u4ee3\u7406\u670d\u52a1<br \/>\nopkg update<br \/>\nopkg install tinyproxy\uff08\u4e5f\u53ef\u5728\u7ba1\u7406\u540e\u53f0\u68c0\u7d22\u540e\u5b89\u88c5\uff09<br \/>\n\u66ff\u6362\u6389\u914d\u7f6e\u6587\u4ef6(\/etc\/config\/tinyproxy)<\/p>\n<pre><code class=\"language-c\">config tinyproxy\n        option Port &#039;8888&#039;\n        option Timeout &#039;600&#039;\n        option DefaultErrorFile &#039;\/usr\/share\/tinyproxy\/default.html&#039;\n        option StatFile &#039;\/usr\/share\/tinyproxy\/stats.html&#039;\n        option MaxClients &#039;100&#039;\n        option MinSpareServers &#039;5&#039;\n        option MaxSpareServers &#039;20&#039;\n        option StartServers &#039;10&#039;\n        option MaxRequestsPerChild &#039;0&#039;\n        option ViaProxyName &#039;tinyproxy&#039;\n        option enabled &#039;1&#039;\n        option User &#039;root&#039;\n        option Listen &#039;0.0.0.0&#039;\n        option Syslog &#039;1&#039;\n        option Group &#039;nogroup&#039;\n        list Allow &#039;::ffff:0:0\/96&#039;\n        list ConnectPort &#039;0&#039;\n        list ConnectPort 443\n        list ConnectPort 563<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>openwrt\u7cfb\u7edf\u5b89\u88c5http\u4ee3\u7406\u670d\u52a1 opkg update opkg install tinyproxy\uff08&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-6"],"_links":{"self":[{"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":0,"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ppdd.vip\/index.php\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}