{"id":36,"date":"2025-08-22T13:31:06","date_gmt":"2025-08-22T05:31:06","guid":{"rendered":"https:\/\/www.tianpao.top\/?p=36"},"modified":"2025-08-22T13:33:06","modified_gmt":"2025-08-22T05:33:06","slug":"minecraft-%e4%bd%bf%e7%94%a8frp%e6%98%be%e7%a4%ba%e7%94%a8%e6%88%b7%e7%9c%9f%e5%ae%9eip","status":"publish","type":"post","link":"https:\/\/www.tianpao.top\/index.php\/2025\/08\/22\/minecraft-%e4%bd%bf%e7%94%a8frp%e6%98%be%e7%a4%ba%e7%94%a8%e6%88%b7%e7%9c%9f%e5%ae%9eip\/","title":{"rendered":"Minecraft \u4f7f\u7528Frp\u663e\u793a\u7528\u6237\u771f\u5b9eIP"},"content":{"rendered":"<h2>\u4e3a\u4ec0\u4e48\u9700\u8981\u663e\u793a\u771f\u5b9eIP\uff1f<\/h2>\n<p>\u663e\u793a\u771f\u5b9eIP\u53ef\u4ee5\u66f4\u597d\u7684\u5c01\u7981\u4f5c\u5f0a\u73a9\u5bb6\uff0c\u4e5f\u53ef\u4ee5\u7ed9\u4f5c\u5f0a\u73a9\u5bb6\u4e00\u70b9\u70b9\u5a01\u6151\u3002\u5f53\u7136\uff0c\u5982\u679c\u4f60\u662f\u61c2\u5f97\u6280\u672f\u7684\u670d\u4e3b\uff0c\u63a8\u8350\u4f60\u53bb\u770b\u6211Blog\u91cc\u7684\u300a\u4f7f\u7528OpenVPN AS\u642d\u5efa\u5185\u7f51\u7a7f\u900f\u300b\u3002<\/p>\n<h2>Frp\u5ba2\u6237\u7aef\u51c6\u5907\u5de5\u4f5c<\/h2>\n<p>\u5728Frpc\u914d\u7f6e\u4e0b\u8ffd\u52a0\u5982\u4e0b\u914d\u7f6e<\/p>\n<pre><code class=\"lang-toml language-toml toml\">...\ntransport.proxyProtocolVersion = &quot;v2&quot;<\/code><\/pre>\n<h2>Fabric<\/h2>\n<p>\u5728fabric\u4e0b\uff081.14-1.21.1\uff09\u53ef\u4ee5\u4f7f\u7528<\/p>\n<ul>\n<li>\uff01\u6ce8\u610f\uff1a\u4f7f\u7528\u6b64\u6a21\u7ec4\u516c\u7f51\u6620\u5c04\u7684\u7aef\u53e3\u5c06\u65e0\u6cd5\u4f7f\u7528\uff0c\u9700\u8981\u518d\u5957\u4e00\u5c42Frps+Frpc\u5e76\u4e14\u5f00\u542fProxyProtocol\u624d\u53ef\u8fdb\u5165\u3002<\/li>\n<li><a href=\"https:\/\/modrinth.com\/mod\/proxy-protocol-support\/version\/1.0.4-fabric\">Modrinth\u4e0b\u8f7d<\/a><\/li>\n<\/ul>\n<h2>Forge<\/h2>\n<p>\u5728Forge\u53ef\u4ee5\u4f7f\u7528\u6b64Mod\uff0c\u4f46\u662f\u66f4\u9ad8\u7684\u7248\u672c\u9700\u8981\u4ee5zip\u6253\u5f00jar\u5e76\u524d\u5f80META-INF\/mods.toml\uff0c\u5c06\u5339\u914d\u6587\u5b57\u6539\u6210\u5982\u4e0bTOML\uff0c\u8fd9\u91cc\u6211\u4ee51.20.x\u4e3e\u4f8b\u3002<\/p>\n<ul>\n<li>\uff01\u6ce8\u610f\uff1a\u4f7f\u7528\u6b64\u6a21\u7ec4\u516c\u7f51\u6620\u5c04\u7684\u7aef\u53e3\u5c06\u65e0\u6cd5\u4f7f\u7528\uff0c\u9700\u8981\u518d\u5957\u4e00\u5c42Frps+Frpc\u5e76\u4e14\u5f00\u542fProxyProtocol\u624d\u53ef\u8fdb\u5165\u3002\n<pre><code class=\"lang-toml language-toml toml\">...\nversionRange = &quot;[1.20,)&quot;<\/code><\/pre><\/li>\n<li><a href=\"https:\/\/cdn.modrinth.com\/data\/mfONdVnp\/versions\/faWiSiGj\/proxy_protocol_support-1.1.0-forge.jar\">Modrinth\u4e0b\u8f7d<\/a><\/li>\n<\/ul>\n<h2>Spigot<\/h2>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u63d2\u4ef6\uff0c\u65e0\u9700\u914d\u7f6e\uff0c\u5373\u53ef\u4f7f\u7528\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.spigotmc.org\/resources\/haproxy-protocol-implementor.103193\/\">SpigotMC\u4e0b\u8f7d<\/a><\/li>\n<\/ul>\n<h2>Paper<\/h2>\n<p>Paper 1.18.2 \u670d\u52a1\u7aef\u652f\u6301 v2 \u7248\u672c\u7684 Proxy Protocol\u3002\u5982\u679c\u662fPaper 1.18.2 \u4ee5\u4e0b\u7684\u7248\u672c\uff0c\u8bf7\u4f7f\u7528Spigot\u7684\u63d2\u4ef6\u3002\u627e\u5230config\/paper-global.yml\u6587\u4ef6\u3002<\/p>\n<pre><code class=\"lang-yaml language-yaml yaml\">proxies:\n  ...\n  proxy-protocol: true<\/code><\/pre>\n<h2>Geyser<\/h2>\n<p>\u9700\u8981\u5728geyser\u914d\u7f6e\u4e2d\u8fdb\u884c\u5982\u4e0b\u66f4\u6539\u3002<\/p>\n<pre><code class=\"lang-yaml language-yaml yaml\">...\nenable-proxy-protocol: true\nuse-proxy-protocol: true<\/code><\/pre>\n<h2>Velocity \/ BungeeCord \/ Waterfall<\/h2>\n<p>\u9700\u8981\u5728\u7fa4\u7ec4\u914d\u7f6e\u4e2d\u8fdb\u884c\u5982\u4e0b\u66f4\u6539\u3002<\/p>\n<pre><code class=\"lang-yaml language-yaml yaml\"># \u65b0\u589e\u5982\u4e0b\n...\nproxy_protocol: true<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u9700\u8981\u663e\u793a\u771f\u5b9eIP\uff1f \u663e\u793a\u771f\u5b9eIP\u53ef\u4ee5\u66f4\u597d\u7684\u5c01\u7981\u4f5c\u5f0a\u73a9\u5bb6\uff0c\u4e5f\u53ef\u4ee5\u7ed9\u4f5c\u5f0a\u73a9\u5bb6\u4e00\u70b9\u70b9\u5a01\u6151\u3002\u5f53\u7136\uff0c\u5982\u679c\u4f60\u662f\u61c2\u5f97\u6280 [&hellip;]<\/p>","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-36","post","type-post","status-publish","format-standard","hentry","category-minecraft"],"_links":{"self":[{"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":2,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":38,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/posts\/36\/revisions\/38"}],"wp:attachment":[{"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tianpao.top\/index.php\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}