{"id":141,"date":"2024-04-25T17:34:41","date_gmt":"2024-04-25T09:34:41","guid":{"rendered":"https:\/\/10.10.10.2\/wordpress?p=141"},"modified":"2024-04-25T17:35:35","modified_gmt":"2024-04-25T09:35:35","slug":"hysteria2%e8%8a%82%e7%82%b9%e6%90%ad%e5%bb%ba%ef%bc%8c%e6%bb%a1%e8%bd%bd%e5%ae%bd%e5%b8%a6%ef%bc%8c%e6%8b%af%e6%95%91%e5%9e%83%e5%9c%be%e7%ba%bf%e8%b7%af%ef%bc%81%e6%9c%80%e5%a4%a7%e9%99%90%e5%ba%a6","status":"publish","type":"post","link":"https:\/\/freet.cc\/wordpress\/?p=141","title":{"rendered":"Hysteria2\u8282\u70b9\u642d\u5efa\uff0c\u6ee1\u8f7d\u5bbd\u5e26\uff0c\u62ef\u6551\u5783\u573e\u7ebf\u8def\uff01\u6700\u5927\u9650\u5ea6\u63d0\u5347\u7a33\u5b9a\u6027\uff01\u7b2c\u4e8c\u4ee3\u6b47\u65af\u5e95\u91ccHysteria2\u8282\u70b9\u642d\u5efa\u6559\u7a0b\uff01"},"content":{"rendered":"\n<p><strong>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c<\/strong><\/p>\n\n\n\n<p>1\u3001VPS\u4e00\u53f0\uff0c\u91cd\u7f6e\u597d&nbsp;<mark><strong>Dibian<\/strong><\/mark>\u7cfb\u7edf\uff0c\u770b\u6e05\u695a\u662f<strong><mark>Dibian<\/mark><\/strong>\u7cfb\u7edf<\/p>\n\n\n\n<p>2\u3001\u4e0d\u9700\u8981\u57df\u540d<\/p>\n\n\n\n<p>3\u3001\u4f7f\u7528 Finalshell SSH\u5de5\u5177<\/p>\n\n\n\n<p>Finalshell\u4e0b\u8f7d\u5730\u5740\uff1a<strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.hostbuf.com\/t\/988.html\" target=\"_blank\"><mark>\u70b9\u6b64\u4e0b\u8f7d<\/mark><\/a><\/strong>&nbsp;\uff08\u652f\u6301\uff1awindows MacOS Linux\uff09<\/p>\n\n\n\n<p>5\u3001V2rayN\u4e0b\u8f7d\u5730\u5740\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/2dust\/v2rayN\/releases\" target=\"_blank\"><strong><mark>\u70b9\u6b64\u6253\u5f00<\/mark><\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u4e8c\u3001\u66f4\u65b0 VPS \u7cfb\u7edf\u5b89\u88c5\u6240\u9700\u7ec4\u4ef6<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update -y<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install curl sudo -y<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u4e09\u3001\u5b89\u88c5Hysteria2\u4e00\u952e\u811a\u672c<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -N --no-check-certificate https:\/\/raw.githubusercontent.com\/flame1ce\/hysteria2-install\/main\/hysteria2-install-main\/hy2\/hysteria.sh &amp;&amp; bash hysteria.sh\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u56db\u3001Hysteria2\u76f8\u5173\u547d\u4ee4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u542f\u52a8Hysteria2\nsystemctl start hysteria-server.service\n#\u67e5\u770bHysteria2\u72b6\u6001\nsystemctl status hysteria-server.service\n#\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\nsystemctl enable hysteria-server.service\n#\u91cd\u542fHysteria2\nsystemctl restart hysteria-server.service\n#\u505c\u6b62Hysteria2\nsystemctl stop hysteria-server.service\n#\u67e5\u770b\u65e5\u5fd7\njournalctl -u hysteria-server.service<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u4e94\u3001\u90e8\u5206\u5382\u5546VPS\u5982\u642d\u5efa\u5b8c<\/strong><strong>Hysteria2<\/strong><strong>\u65e0\u6cd5\u6b63\u5e38\u542f\u52a8\uff0c\u8bf7\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u6dfb\u52a0\u79c1\u94a5\u7684\u8bfb\u5199\u6743\u9650<\/strong>\uff0c<strong>\u5b8c\u6210\u4e4b\u540e\u6267\u884c\u91cd\u542fHysteria2\u547d\u4ee4\uff0c\u518d\u6267\u884c\u67e5\u770bHysteria2\u72b6\u6001\u547d\u4ee4\uff0c\u5982\u679c\u542f\u52a8\u6210\u529f\u5373\u53ef\uff01<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +rw \/root\/private.key<\/code><\/pre>\n\n\n\n<p><strong>Hysteria2\u76f8\u5173\u547d\u4ee4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u91cd\u542fHysteria2\nsystemctl restart hysteria-server.service\n#\u67e5\u770bHysteria2\u72b6\u6001\nsystemctl status hysteria-server.service<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u516d\u3001\u90e8\u5206\u5382\u5546VPS\u5982\u642d\u5efa\u5b8c\u6210\u540e\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528\uff0c\u8bf7\u4f9d\u6b21\u5728 Finalshell \u6267\u884c\u5982\u4e0b\u547d\u4ee4\u653e\u884c\u7aef\u53e3\u5373\u53ef\uff0c\u4ee5\u4e0b\u547d\u4ee4\u9002\u7528\u4e8e Dibian \u7cfb\u7edf<\/strong><\/p>\n\n\n\n<p><strong>\u5b89\u88c5iptables\uff08\u901a\u5e38\u7cfb\u7edf\u90fd\u4f1a\u81ea\u5e26\uff0c\u5982\u679c\u6ca1\u6709\u5c31\u9700\u8981\u5b89\u88c5\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install iptables<\/code><\/pre>\n\n\n\n<p><strong>\u4f8b\u5982\u8981\u653e\u884c8888\u7aef\u53e3<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables -I INPUT -p tcp --dport 8888 -j ACCEPT<\/code><\/pre>\n\n\n\n<p><strong>\u7136\u540e\u4fdd\u5b58\u653e\u884c\u89c4\u5219<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables-save<\/code><\/pre>\n\n\n\n<p><strong>\u8bbe\u7f6e\u5b8c\u5c31\u5df2\u7ecf\u653e\u884c\u4e86\u6307\u5b9a\u7684\u7aef\u53e3\uff0c\u4f46\u91cd\u542f\u540e\u4f1a\u5931\u6548\uff0c\u4e0b\u9762\u8bbe\u7f6e\u6301\u7eed\u751f\u6548\u89c4\u5219\uff1b<\/strong><\/p>\n\n\n\n<p><strong>\u5b89\u88c5iptables-persistent<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install iptables-persistent<\/code><\/pre>\n\n\n\n<p><strong>\u4fdd\u5b58\u89c4\u5219\u6301\u7eed\u751f\u6548<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>netfilter-persistent save<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>netfilter-persistent reload<\/code><\/pre>\n\n\n\n<p><strong>\u8bbe\u7f6e\u5b8c\u6210\u540e\u6307\u5b9a\u7aef\u53e3\u5c31\u4f1a\u6301\u7eed\u653e\u884c\u4e86\uff1b<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c 1\u3001VPS\u4e00\u53f0\uff0c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":2,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}