{"id":417,"date":"2021-06-08T20:31:09","date_gmt":"2021-06-08T12:31:09","guid":{"rendered":"https:\/\/help.778900.xyz\/?p=417"},"modified":"2021-06-08T20:31:45","modified_gmt":"2021-06-08T12:31:45","slug":"linux-help","status":"publish","type":"post","link":"https:\/\/help.778900.xyz\/index.php\/2021\/06\/08\/linux-help\/","title":{"rendered":"Linux\u73af\u5883\u7684\u5ba2\u6237\u7aef"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"1-\u5b89\u88c5ssr\u5ba2\u6237\u7aef\">1. \u5b89\u88c5ssr\u5ba2\u6237\u7aef<\/h3>\n\n\n\n<p>\u5ba2\u6237\u7aef\u53ef\u4ee5\u9009\u62e9\u539f\u7248\u7684ssr\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e8c\u6b21\u5f00\u53d1\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u6bd4\u5982\u4e0b\u9762\u8fd9\u51e0\u4e2a\u4e0d\u9519\uff1a<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/github.com\/shadowsocksr-backup\/shadowsocksr\" target=\"_blank\" rel=\"noreferrer noopener\">shadowsocksr\u539f\u7248\u5907\u4efd\u9879\u76ee<\/a>&nbsp;\u914d\u7f6e\u8f83\u9ebb\u70e6\uff0c\u8fd9\u91cc\u4e0d\u7528\u3002<\/li><li><a href=\"https:\/\/github.com\/noahziheng\/ssr-helper\" target=\"_blank\" rel=\"noreferrer noopener\">ssr-helper<\/a>&nbsp;\u8fd9\u4e2a\u9879\u76ee\u4f7f\u7528\u4f53\u9a8c\u5f88\u68d2\uff0c\u6bd4\u5982\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u5bfc\u5165ssr\u94fe\u63a5\u3001ssr\u8ba2\u9605\u7b49\u3002\u4f46\u6211\u53d1\u73b0\u5728Ubuntu\u4e0a\u4f7f\u7528\u6ca1\u95ee\u9898\uff0c\u4f46<a href=\"https:\/\/github.com\/noahziheng\/ssr-helper\/issues\/34\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728centos7\u4e0a\u603b\u662f\u5931\u8d25<\/a>\uff0c\u6240\u4ee5\u76ee\u524d\u5148\u4e0d\u7528\u8fd9\u4e2a<\/li><li><a href=\"http:\/\/git.mrwang.pw\/Reed\/Linux_ssr_script.git\" target=\"_blank\" rel=\"noreferrer noopener\">Linux_ssr_script<\/a>&nbsp;\u8fd9\u4e2a\u9879\u76ee\u529f\u80fd\u5c11\u4e86\u4e00\u70b9\uff0c\u4f46\u662f\u5728centos7\u6ca1\u6709\u95ee\u9898\uff0c\u4e8e\u662f\u5c31\u4f7f\u7528\u5b83\u3002<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<\/td><td>$ git clone http:\/\/git.mrwang.pw\/Reed\/Linux_ssr_script.git<br>$ cd Linux_ssr_script &amp;&amp; chmod +x .\/ssr<br>$ .\/ssr install<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-\u914d\u7f6e\u8282\u70b9\">2. \u914d\u7f6e\u8282\u70b9<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ .\/ssr config<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br>20<br>21<br>22<br>23<br>24<br>25<\/td><td>{<br>&#8220;server&#8221;: &#8220;xxxx.xyz&#8221;,<br>&#8220;server_ipv6&#8221;: &#8220;::&#8221;,<br>&#8220;server_port&#8221;: 999,<br>&#8220;local_address&#8221;: &#8220;127.0.0.1&#8221;,<br>&#8220;local_port&#8221;: 1080,<br><br>&#8220;password&#8221;: &#8220;xxxx&#8221;,<br>&#8220;method&#8221;: &#8220;aes-256-ctr&#8221;,<br>&#8220;protocol&#8221;: &#8220;auth_aes128_md5&#8221;,<br>&#8220;protocol_param&#8221;: &#8220;11215:rZg30E&#8221;,<br>&#8220;obfs&#8221;: &#8220;tls1.2_ticket_auth&#8221;,<br>&#8220;obfs_param&#8221;: &#8220;e082711215.microsoft.com&#8221;,<br>&#8220;speed_limit_per_con&#8221;: 0,<br>&#8220;speed_limit_per_user&#8221;: 0,<br><br>&#8220;additional_ports&#8221; : {}, \/\/ only works under multi-user mode<br>&#8220;additional_ports_only&#8221; : false, \/\/ only works under multi-user mode<br>&#8220;timeout&#8221;: 120,<br>&#8220;udp_timeout&#8221;: 60,<br>&#8220;dns_ipv6&#8221;: false,<br>&#8220;connect_verbose_info&#8221;: 0,<br>&#8220;redirect&#8221;: &#8220;&#8221;,<br>&#8220;fast_open&#8221;: false<br>}<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u6839\u636e\u60c5\u51b5\u914d\u7f6essr\u8282\u70b9<\/p><p>\u4e00\u822c\u60c5\u51b5\uff1aserver\uff08\u670d\u52a1\u7aefip\uff09\u3001server_port\uff08\u670d\u52a1\u7aef\u7aef\u53e3\uff09\u3001password\uff08\u8282\u70b9\u5bc6\u7801\uff09\u3001method\u3001obfs\u662f\u90fd\u8981\u586b\u7684\u3002\u800c\u5176\u4ed6\u7684\u53c2\u6570\u89c6\u8282\u70b9\u60c5\u51b5\u800c\u914d\u7f6e\u5373\u53ef\u3002<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-\u542f\u52a8\u5ba2\u6237\u7aef\">3. \u542f\u52a8\u5ba2\u6237\u7aef<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ .\/ssr start<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-\u914d\u7f6e\u8bf7\u6c42\u8d70\u4ee3\u7406\">4. \u914d\u7f6e\u8bf7\u6c42\u8d70\u4ee3\u7406<\/h3>\n\n\n\n<p>\u6307\u5b9ahttp\u548chttps\u8d70socks5\u4ee3\u7406<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td>$ export http_proxy=&#8221;socks5:\/\/127.0.0.1:1080&#8243;<br>$ export https_proxy=&#8221;socks5:\/\/127.0.0.1:1080&#8243;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u6216\u8005\u76f4\u63a5\u8ba9\u6240\u6709\u4ee3\u7406\u90fd\u8d70socks5<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ export ALL_PROXY=socks5:\/\/127.0.0.1:1080<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-\u6d4b\u8bd5\u914d\u7f6e\u60c5\u51b5\">5. \u6d4b\u8bd5\u914d\u7f6e\u60c5\u51b5<\/h3>\n\n\n\n<p>\u7136\u540e\u901a\u8fc7\u8bbf\u95eecip.cc\u67e5\u8be2ip\u4fe1\u606f\u6765\u67e5\u770b\u662f\u5426\u6210\u529f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br>20<br>21<\/td><td>[root@iz2ze4uom6jrktiqj54y48z ~]# curl cip.cc<br>IP : 39.106.195.202<br>\u5730\u5740 : \u4e2d\u56fd \u5317\u4eac<br>\u8fd0\u8425\u5546 : \u963f\u91cc\u4e91\/\u7535\u4fe1\/\u8054\u901a\/\u79fb\u52a8\/\u94c1\u901a\/\u6559\u80b2\u7f51<br><br>\u6570\u636e\u4e8c : \u5317\u4eac\u5e02 | \u963f\u91cc\u4e91<br><br>\u6570\u636e\u4e09 : \u4e2d\u56fd\u5317\u4eac\u5317\u4eac | \u963f\u91cc\u4e91<br><br>URL : http:\/\/www.cip.cc\/39.106.195.202<br>[root@iz2ze4uom6jrktiqj54y48z ~]# export http_proxy=&#8221;socks5:\/\/127.0.0.1:1080&#8243;<br>[root@iz2ze4uom6jrktiqj54y48z ~]# export https_proxy=&#8221;socks5:\/\/127.0.0.1:1080&#8243;<br>[root@iz2ze4uom6jrktiqj54y48z ~]# curl cip.cc<br>IP : 47.241.70.253<br>\u5730\u5740 : \u4e2d\u56fd \u9999\u6e2f \u963f\u91cc\u4e91<br><br>\u6570\u636e\u4e8c : \u7f8e\u56fd | \u963f\u91cc\u4e91<br><br>\u6570\u636e\u4e09 : \u7f8e\u56fd\u52a0\u5229\u798f\u5c3c\u4e9a\u5723\u514b\u62c9\u62c9 | \u963f\u91cc\u5df4\u5df4<br><br>URL : http:\/\/www.cip.cc\/47.241.70.253<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-\u4ee3\u7406\u8f6c\u53d1\">6. \u4ee3\u7406\u8f6c\u53d1<\/h3>\n\n\n\n<p>Shadowsocks\u5c5e\u4e8esocks5\u534f\u8bae\uff0c\u9ed8\u8ba4\u4e0d\u5bf9http\u534f\u8bae\u7684\u8bf7\u6c42\u8fdb\u884c\u4ee3\u7406\u6bd4\u5982\u5728\u4ee5\u4e0a\u914d\u7f6e\u5b8c\u6210\u540e\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u662f\u8bbf\u95ee\u4e0d\u4e86Google\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ curl www.google.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u8ba9\u4e00\u4e9bhttp\u76f8\u5173\u7684\u547d\u4ee4\u6210\u529f\u8d70\u4ee3\u7406\uff0c\u90a3\u4e48\u53ef\u4ee5\u501f\u52a9privoxy\u628asocks5\u8f6c\u4e3aHTTP\u534f\u8bae\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\uff081\uff09\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u8ba9http\u3001https\u548cftp\u534f\u8bae\u8f6c\u53d1\u7ed9privoxy\u5904\u7406<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<\/td><td># \u5168\u5c40\u73af\u5883\u53d8\u91cf\/etc\/profile<br># \u7528\u6237\u73af\u5883\u53d8\u91cf~\/.bash_profile\u6216\u8005~\/.bashrc<br># ======================<br># \u9009\u62e9\u4ee5\u4e0a\u4e00\u4e2a\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91\uff08\u6bd4\u5982\u9009\u62e9~\/.bashrc\uff09<br>$ vi ~\/.bashrc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5728\u672b\u5c3e\u5904\u6dfb\u52a0\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<\/td><td>proxy=&#8221;http:\/\/127.0.0.1:8118&#8243;<br>export https_proxy=$proxy<br>export http_proxy=$proxy<br>export ftp_proxy=$proxy<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7136\u540e\u52a0\u8f7d\u73af\u5883\u53d8\u91cf<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ source ~\/.bashrc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff082\uff09\u5b89\u88c5\u5e76\u914d\u7f6eprivoxy<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td>$ sudo yum install privoxy -y<br>$ sudo vi \/etc\/privoxy\/config<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<\/td><td>#(1)\u627e\u5230listen-address\u786e\u4fdd\u6709\u8fd9\u884c\u4ee3\u7801<br>listen-address 127.0.0.1:8118<br><br>#(2)\u627e\u5230forward-socks5\u786e\u4fdd\u6709\u4e0b\u9762\u8fd9\u884c\u4ee3\u7801\u5e76\u4e14\u6253\u5f00\u6ce8\u91ca(\u6ca1\u6709\u81ea\u5df1\u52a0),\u5176\u4e2d\/\u4ee3\u8868\u5339\u914d\u5168\u90e8 URL\uff0c\u5373\u5168\u5c40\u4ee3\u7406<br>forward-socks5 \/ 127.0.0.1:1080 .<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td>#\u5982\u679c\u9700\u8981\u81ea\u52a8\u4ee3\u7406\uff0c\u53ef\u4ee5\u628a\/\u6539\u4e3a\u5982\u4e0b\u7c7b\u4f3c\u7684\u5339\u914d\u89c4\u5219\u5373\u53ef<br>#forward-socks5 .google.com 127.0.0.1:1080 .<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff083\uff09\u542f\u52a8\u5e76\u67e5\u770bprivoxy\u8fd0\u884c\u72b6\u6001<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<br>6<\/td><td>#\u542f\u52a8<br>$ systemctl start privoxy<br>#\u5f00\u673a\u542f\u52a8<br>$ systemctl enable privoxy<br>#\u67e5\u770b\u72b6\u6001<br>$ sudo systemctl status privoxy<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff084\uff09\u6d4b\u8bd5\u8bbf\u95ee\u5916\u7f51<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<\/td><td># \u8bbf\u95ee\u9700\u8981\u4ee3\u7406\u624d\u80fd\u8bbf\u95ee\u7684google<br>$ curl www.google.com<br># \u8bbf\u95ee\u641c\u72d0\u7684\u8fd9\u4e2a\u63a5\u53e3\u80fd\u591f\u8fd4\u56de\u4f60\u7684IP\u5730\u5740<br>$ curl &#8220;http:\/\/pv.sohu.com\/cityjson?ie=utf-8&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-pac\u6a21\u5f0f\u4ee3\u7406\">7. pac\u6a21\u5f0f\u4ee3\u7406<\/h3>\n\n\n\n<p>\u7ecf\u8fc7\u4ee5\u4e0a\u6d4b\u8bd5\u53ef\u4ee5\u53d1\u73b0\u80fd\u591f\u4ee3\u7406\u6210\u529f\u4e86\u3002\u4f46\u53d1\u73b0\u76ee\u524d\u5728\u7ec8\u7aef\u4efb\u4f55HTTP\u8fde\u63a5\u5168\u90fd\u8d70\u4ee3\u7406\u4e86\uff0c\u8fd9\u4e0d\u7b26\u5408\u6211\u4eec\u7684\u9884\u671f\uff0c\u6211\u4eec\u5e0c\u671b\u7684\u8ba9\u4ee3\u7406\u8d70pac\u6a21\u5f0f\uff08\u5373\u9700\u8981\u7684\u8fde\u63a5\u624d\u4ee3\u7406\uff0c\u4e0d\u9700\u8981\u7684\u5c31\u4e0d\u7528\u4ee3\u7406\uff0c\u53e6\u5916\u5982\u679c\u4ee3\u7406\u4e0d\u53ef\u7528\u4e86\u4e5f\u4e0d\u4f1a\u5f71\u54cd\u539f\u6765\u7684\u8bbf\u95ee\uff09\u3002\u8981\u914d\u7f6e<code>Privoxy<\/code>\u7684pac\u6a21\u5f0f\uff0c\u9996\u5148\u9700\u8981\u4e00\u4e2a\u7b26\u5408<code>Privoxy<\/code>\u7684pac\u89c4\u5219\u7684\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528<a href=\"https:\/\/github.com\/snachx\/gfwlist2privoxy\" target=\"_blank\" rel=\"noreferrer noopener\">GFWList2Privoxy<\/a>\u6765\u751f\u6210\u3002<\/p>\n\n\n\n<p>\uff081\uff09\u5b89\u88c5 GFWList2Privoxy<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ pip install &#8211;user gfwlist2privoxy<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff082\uff09\u83b7\u53d6gfwlist\u6587\u4ef6\uff0c\u751f\u6210actionsfile<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<\/td><td>$ cd \/tmp<br>$ wget https:\/\/raw.githubusercontent.com\/gfwlist\/gfwlist\/master\/gfwlist.txt<br>$ ~\/.local\/bin\/gfwlist2privoxy -i gfwlist.txt -f gfwlist.action -p 127.0.0.1:1080 -t socks5<br>$ sudo cp gfwlist.action \/etc\/privoxy\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u5176\u4e2dgfwlist.action\u5c31\u662fprivoxy\u7684pac\u6587\u4ef6\uff0c\u4e00\u822c\u91cc\u9762\u5305\u542b\u7684\u6240\u6709\u57df\u540d\u90fd\u9700\u8981\u4ee3\u7406\u624d\u80fd\u8bbf\u95ee\u7684\uff0c\u5982\u679c\u4ee5\u540e\u67d0\u4e2apac\u6587\u4ef6\u4e4b\u5916\u7684\u7f51\u7ad9\u4e5f\u60f3\u8d70\u4ee3\u7406\u7684\u8bdd\uff0c\u90a3\u4e48\u4ec5\u9700\u8981\u628a\u57df\u540d\u6dfb\u52a0\u5230pac\u6587\u4ef6\u91cc\u9762\u5c31\u53ef\u4ee5\u4e86\uff0c\u6bd4\u5982\u6dfb\u52a0<code>wp.com<\/code>\u5230pac\u91cc\u9762,\u90a3\u4e48\u53ef\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u6dfb\u52a0\uff1a<\/p><p><code>echo '.wp.com' &gt;&gt; \/etc\/privoxy\/gfwlist.action<\/code><\/p><\/blockquote>\n\n\n\n<p>\uff083\uff09\u914d\u7f6eprivoxy<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ sudo vim \/etc\/privoxy\/config<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<\/td><td>#\u6ce8\u91ca\u6389\u8fd9\u884c\uff0c\u9632\u6b62pac\u5931\u6548\uff0c\u800c\u5168\u90e8\u8d70\u4ee3\u7406\u4e86<br>#forward-socks5 \/ 127.0.0.1:1080 .<br>#\u6fc0\u6d3bpac\u6587\u4ef6<br>actionsfile gfwlist.action<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u91cd\u542fPrivoxy<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ sudo service privoxy restart<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff084\uff09\u6d4b\u8bd5\u4ee3\u7406\u662f\u5426\u8d70\u4e86pac\u6a21\u5f0f<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<\/td><td>#\u8bbf\u95eegoogle\u53d1\u73b0\u6ca1\u95ee\u9898<br>$ curl www.google.com<br>#\u8bbf\u95ee\u8bf7\u6c42ip\u4fe1\u606f\uff0c\u8fd4\u56de\u7684\u662f\u5ba2\u6237\u7aef\u7684IP\u800c\u4e0d\u662f\u4ee3\u7406\u670d\u52a1\u5668\u7684ip\uff0c\u8bf4\u660e\u6210\u529f\u8d70\u4e86pac\u6a21\u5f0f<br>$ curl &#8220;http:\/\/pv.sohu.com\/cityjson?ie=utf-8&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531\u4e8e\u5f00\u673a\u81ea\u542f\u52a8privoxy\uff0c\u5e76\u4e14\u73af\u5883\u53d8\u91cf\u4e2d\u6307\u5b9a\u8bf7\u6c42\u8f6c\u53d1\u7ed9privoxy\u4ee5pac\u6a21\u5f0f\u5904\u7406\uff0c\u6240\u4ee5\u540e\u7eed\u53ea\u9700\u8981\u7ef4\u62a4ssr\u5ba2\u6237\u7aef\u5373\u53ef\u3002\u9700\u8981\u4ee3\u7406\u5c31\u5f00\u542fssr\u5ba2\u6237\u7aef\uff0c\u4e0d\u9700\u8981\u4e0d\u5f00\u542f\u5373\u53ef\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8-\u8f7b\u91cf\u7ea7\u4ee3\u7406\u8f6c\u53d1\">8. \u8f7b\u91cf\u7ea7\u4ee3\u7406\u8f6c\u53d1<\/h3>\n\n\n\n<p>\u7ecf\u8fc7\u4e0a\u9762\u7684\u5b9e\u6218\u53ef\u4ee5\u53d1\u73b0privoxy\u867d\u7136\u53ef\u4ee5\u5b9e\u73b0\u4ee3\u7406\u8f6c\u53d1\u7684\u4f5c\u7528\uff0c\u4f46\u5b83\u4fb5\u5165\u6027\u6bd4\u8f83\u5927\u3002\u4e3a\u4e86\u201c\u8f7b\u91cf\u201d\uff0c\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528ProxyChains\u6765\u5b8c\u6210\u4ee3\u7406\u8f6c\u53d1\u7684\u76ee\u7684\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u51b3\u5b9a\u547d\u4ee4\u662f\u5426\u8d70\u4ee3\u7406\uff0c\u6bd4\u5982\u9700\u8981\u8d70\u4ee3\u7406\uff0c\u90a3\u4e48\u5c31\u5728\u547d\u4ee4\u7684\u6700\u524d\u9762\u52a0\u4e0a<code>proxychains4<\/code>\uff0c\u5982\u679c\u4e0d\u9700\u8981\u4e0d\u52a0\u5c31\u884c\uff0c\u5982\u6b64\u5b83\u7684\u4fb5\u5165\u6027\u5c31\u964d\u5230\u4e86\u5f88\u4f4e\u7684level\u4e86\u3002<\/p>\n\n\n\n<p>\u27a1\ufe0f&nbsp;<strong>\u5728\u4f7f\u7528\u524d\u5148\u786e\u4fdd\u5f00\u542fssr\u5ba2\u6237\u7aef\u3002<\/strong><\/p>\n\n\n\n<p>\uff081\uff09\u5b89\u88c5 proxychains-ng<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<\/td><td>$ git clone https:\/\/github.com\/rofl0r\/proxychains-ng.git<br>$ cd proxychains-ng\/<br>$ .\/configure &#8211;prefix=\/usr &#8211;sysconfdir=\/etc<br>$ make &amp;&amp; make install<br>$ make install-config<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>(2) \u7f16\u8f91proxychains \u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>$ vim \/etc\/proxychains.conf<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<\/td><td>[ProxyList]<br># add proxy here &#8230;<br># meanwile<br># defaults set to &#8220;tor&#8221;<br>#\u6ce8\u91ca\u6389\u9ed8\u8ba4\u7684\u8fd9\u4e2a\u914d\u7f6e<br>#socks4 127.0.0.1 9050<br>#\u6dfb\u52a0\u4e0b\u9762\u8fd9\u4e2a\u914d\u7f6e<br>socks5 127.0.0.1 1080<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\uff083\uff09\u5bf9\u4e8e\u9700\u8981\u4ee3\u7406\u8f6c\u53d1\u7684\u547d\u4ee4\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5728\u8be5\u547d\u4ee4\u524d\u52a0\u4e0a<code>proxychains4<\/code>\u5373\u53ef\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<br>3<br>4<br>5<\/td><td>$ proxychains4 wget https:\/\/github.com\/seata\/seata\/releases\/download\/v1.2.0\/seata-server-1.2.0.tar.gz<br><br>$ proxychains4 curl www.google.com<br><br>$ proxychains4 curl &#8220;http:\/\/pv.sohu.com\/cityjson?ie=utf-8&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1. \u5b89\u88c5ssr\u5ba2\u6237\u7aef \u5ba2\u6237\u7aef\u53ef\u4ee5\u9009\u62e9\u539f\u7248\u7684ssr\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e8c\u6b21\u5f00\u53d1\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u6bd4\u5982\u4e0b\u9762\u8fd9\u51e0\u4e2a\u4e0d\u9519&hellip; <a href=\"https:\/\/help.778900.xyz\/index.php\/2021\/06\/08\/linux-help\/\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">Linux\u73af\u5883\u7684\u5ba2\u6237\u7aef<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/posts\/417"}],"collection":[{"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":1,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"predecessor-version":[{"id":418,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/posts\/417\/revisions\/418"}],"wp:attachment":[{"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.778900.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}