{"id":221,"date":"2018-04-17T09:58:19","date_gmt":"2018-04-17T01:58:19","guid":{"rendered":"https:\/\/wp.yaanren.win\/?p=221"},"modified":"2018-04-17T09:58:19","modified_gmt":"2018-04-17T01:58:19","slug":"v2ray-fun%ef%bc%88%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-web-%e7%9a%84-v2ray-%e6%8e%a7%e5%88%b6%e9%9d%a2%e6%9d%bf%ef%bc%89","status":"publish","type":"post","link":"https:\/\/wp.625300.xyz\/?p=221","title":{"rendered":"V2ray.Fun\uff08\u4e00\u4e2a\u57fa\u4e8e Web \u7684 V2ray \u63a7\u5236\u9762\u677f\uff09"},"content":{"rendered":"<h2><a id=\"user-content-\u7b80\u4ecb\" class=\"anchor\" href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun#%E7%AE%80%E4%BB%8B\" aria-hidden=\"true\"><\/a>\u7b80\u4ecb<\/h2>\n<p>\u4e00\u4e2a\u57fa\u4e8e Web \u7684 V2ray \u63a7\u5236\u9762\u677f<\/p>\n<p><a href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun\/blob\/master\/1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun\/raw\/master\/1.png\" alt=\"1.png\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun\/blob\/master\/2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun\/raw\/master\/2.png\" alt=\"2.png\" \/><\/a><\/p>\n<h2><a id=\"user-content-\u7cfb\u7edf\u652f\u6301\" class=\"anchor\" href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun#%E7%B3%BB%E7%BB%9F%E6%94%AF%E6%8C%81\" aria-hidden=\"true\"><\/a>\u7cfb\u7edf\u652f\u6301<\/h2>\n<p><strong>\u8bf7\u52a1\u5fc5\u4f7f\u7528\u65b0\u7cfb\u7edf\uff0c\u7eaf\u51c0\u7684VPS\u7cfb\u7edf\u5b89\u88c5!!!<\/strong><\/p>\n<ul>\n<li><strong>Debian 8 (\u63a8\u8350)<\/strong><\/li>\n<li>Debian 9<\/li>\n<li>Ubuntu 14<\/li>\n<li>Ubuntu 16<\/li>\n<\/ul>\n<h2><a id=\"user-content-\u4e00\u952e\u5b89\u88c5\" class=\"anchor\" href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun#%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85\" aria-hidden=\"true\"><\/a>\u4e00\u952e\u5b89\u88c5<\/h2>\n<p>\u4e0d\u4fdd\u8bc1\u4e00\u952e\u811a\u672c\u80fd\u5b89\u88c5\u6210\u529f\uff0c\u63a8\u8350\u624b\u52a8\u5b89\u88c5\uff0c\u65b9\u4fbf\u89e3\u51b3\u9519\u8bef<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>wget -N --no-check-certificate https:\/\/raw.githubusercontent.com\/YLWS-4617\/V2ray.Fun\/master\/install.sh <span class=\"pl-k\">&amp;&amp;<\/span> bash install.sh<\/pre>\n<\/div>\n<h2><a id=\"user-content-\u624b\u52a8\u5b89\u88c5\" class=\"anchor\" href=\"https:\/\/github.com\/YLWS-4617\/V2ray.Fun#%E6%89%8B%E5%8A%A8%E5%AE%89%E8%A3%85\" aria-hidden=\"true\"><\/a>\u624b\u52a8\u5b89\u88c5<\/h2>\n<p>\u9996\u5148\u5b89\u88c5\u4f9d\u8d56<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>apt-get update\napt-get install python python-pip unzip curl openssl ca-certificates screen socat git -y<\/pre>\n<\/div>\n<p>\u5b89\u88c5\u00a0<strong>acme.sh<\/strong>\u00a0\u7528\u4e8e\u5f00\u542f V2ray TLS \u529f\u80fd<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>curl https:\/\/get.acme.sh <span class=\"pl-k\">|<\/span> sh<\/pre>\n<\/div>\n<p>\u5b89\u88c5\u00a0<strong>V2ray<\/strong>\u00a0\u4e3b\u7a0b\u5e8f<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>bash <span class=\"pl-s\"><span class=\"pl-pds\">&lt;(<\/span>curl -L -s https:\/\/install.direct\/go.sh<span class=\"pl-pds\">)<\/span><\/span><\/pre>\n<\/div>\n<p>\u5b89\u88c5\u00a0<strong>V2ray.Fun<\/strong>\u00a0\u4e3b\u7a0b\u5e8f<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre><span class=\"pl-c1\">cd<\/span> \/usr\/local\/\ngit clone https:\/\/github.com\/YLWS-4617\/V2ray.Fun<\/pre>\n<\/div>\n<p>\u5b89\u88c5\u9700\u8981\u7528\u7684 Python \u5305<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>pip install flask pyOpenSSL requests urllib3 -y<\/pre>\n<\/div>\n<p>\u521d\u59cb\u5316\u914d\u7f6e\u6587\u4ef6\u548c\u6267\u884c\u6587\u4ef6<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>sed -i <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>s\/%%username%%\/admin\/g<span class=\"pl-pds\">\"<\/span><\/span> \/usr\/local\/V2ray.Fun\/panel.config\nsed -i <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>s\/%%passwd%%\/admin\/g<span class=\"pl-pds\">\"<\/span><\/span> \/usr\/local\/V2ray.Fun\/panel.config\nsed -i <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>s\/%%port%%\/5000\/g<span class=\"pl-pds\">\"<\/span><\/span> \/usr\/local\/V2ray.Fun\/panel.config\n<span class=\"pl-c1\">cd<\/span> \/usr\/local\/V2ray.Fun\/ <span class=\"pl-k\">&amp;&amp;<\/span> python init.py\ncp \/usr\/local\/V2ray.Fun\/v2ray.py \/usr\/local\/bin\/v2ray\nchmod +x \/usr\/local\/bin\/v2ray<\/pre>\n<\/div>\n<p>\u542f\u52a8\u670d\u52a1<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre><span class=\"pl-c1\">cd<\/span> \/usr\/local\/V2ray.Fun\/ <span class=\"pl-k\">&amp;&amp;<\/span> screen -dmS Flask python app.py\nservice v2ray start<\/pre>\n<\/div>\n<p>\u7136\u540e\u5c31\u88c5\u597d\u4e86\uff0c\u8bbf\u95ee\u00a0<strong><a href=\"http:\/\/xn--ip-0p3cm89l:5000\/\" rel=\"nofollow\">http:\/\/\u4f60\u7684IP:5000<\/a><\/strong>\u00a0\u5c31\u53ef\u4ee5\u4f7f\u7528Web\u9762\u677f\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb \u4e00\u4e2a\u57fa\u4e8e Web \u7684 V2ray \u63a7\u5236\u9762\u677f \u7cfb\u7edf\u652f\u6301 \u8bf7\u52a1\u5fc5\u4f7f\u7528\u65b0\u7cfb\u7edf\uff0c\u7eaf\u51c0\u7684VPS\u7cfb\u7edf\u5b89\u88c5!!! De&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,32],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-v2ray","category-32"],"_links":{"self":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":0,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}