{"id":1911,"date":"2026-07-26T19:57:07","date_gmt":"2026-07-26T11:57:07","guid":{"rendered":"https:\/\/1212967.xyz\/blog\/?p=1911"},"modified":"2026-07-26T20:14:28","modified_gmt":"2026-07-26T12:14:28","slug":"%e5%ae%b6%e9%87%8c%e4%ba%91%e8%ae%a1%e5%88%92%ef%bc%9a%e5%9f%ba%e4%ba%8e%e6%9c%89%e7%8a%b6%e6%80%81%e7%ad%96%e7%95%a5%e8%b7%af%e7%94%b1%e7%9a%84%e5%ae%8c%e7%be%8e%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f","status":"publish","type":"post","link":"https:\/\/1212967.xyz\/blog\/2026\/07\/26\/%e5%ae%b6%e9%87%8c%e4%ba%91%e8%ae%a1%e5%88%92%ef%bc%9a%e5%9f%ba%e4%ba%8e%e6%9c%89%e7%8a%b6%e6%80%81%e7%ad%96%e7%95%a5%e8%b7%af%e7%94%b1%e7%9a%84%e5%ae%8c%e7%be%8e%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f\/","title":{"rendered":"\u5bb6\u91cc\u4e91\u8ba1\u5212\uff1a\u57fa\u4e8e\u6709\u72b6\u6001\u7b56\u7565\u8def\u7531\u7684\u5b8c\u7f8e\u5185\u7f51\u7a7f\u900f"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u6982\u8ff0<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/1212967.xyz\/blog\/2025\/08\/24\/%e5%ae%b6%e9%87%8c%e4%ba%91%e8%ae%a1%e5%88%92%ef%bc%9a%e4%bd%bf%e7%94%a8wireguard%e5%92%8cvps%e8%ae%a9%e5%ae%b6%e9%87%8c%e4%ba%91%e6%8b%a5%e6%9c%89%e5%85%ac%e7%bd%91ip\/\" data-type=\"link\" data-id=\"https:\/\/1212967.xyz\/blog\/2025\/08\/24\/%e5%ae%b6%e9%87%8c%e4%ba%91%e8%ae%a1%e5%88%92%ef%bc%9a%e4%bd%bf%e7%94%a8wireguard%e5%92%8cvps%e8%ae%a9%e5%ae%b6%e9%87%8c%e4%ba%91%e6%8b%a5%e6%9c%89%e5%85%ac%e7%bd%91ip\/\">\u524d\u6587<\/a>\u7684\u63d0\u51fa\u7684\u57fa\u4e8e\u6e90IP\u7684\u7b56\u7565\u8def\u7531\u65b9\u6848\u5b58\u5728\u672a\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u5373\uff0c\u65e0\u6cd5\u8bbf\u95eedocker\u6620\u5c04\u51fa\u7684\u7aef\u53e3\uff0c\u56e0\u4e3adocker\u4f1a\u518d\u6b21\u8fdb\u884cNAT\u64cd\u4f5c\uff0c\u5bfc\u81f4\u56de\u5305\u6e90IP\u53d8\u4e3adocker\u5bb9\u5668\u5185\u90e8ip\u800c\u975e10.0.0.2\uff0c\u4e0d\u80fd\u88ab\u7b56\u7565\u8def\u7531\u5339\u914d\uff1b\u800c\u57fa\u4e8e\u8fde\u63a5\u6807\u8bb0\uff08CONNMARK\uff09\u7684\u7b56\u7565\u8def\u7531\u5b58\u5728\u540c\u6837\u7f3a\u9677<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u6587\u8fd8\u63d0\u5230\u4e86\u57fa\u4e8earp proxy\u7684\u4e8c\u5c42\u65b9\u6848\uff0c\u800c\u968f\u7740\u4e91\u670d\u52a1\u5546\u5927\u91cf\u4f7f\u7528VPC\u7f51\u7edc\uff0c\u53ef\u884c\u6027\u8f83\u4f4e<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u672c\u6587\u63d0\u51fa\u4e86\u57fa\u4e8e <strong>\u52a8\u6001 IPSet \u7684\u6709\u72b6\u6001\u7b56\u7565\u8def\u7531<\/strong> \u65b9\u6848\uff1a<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u52a8\u6001\u611f\u77e5<\/strong>\uff1a\u5229\u7528 <code>iptables<\/code> \u6355\u83b7\u4ece WireGuard \u5165\u7ad9\u7684\u8bf7\u6c42\uff0c\u5c06\u8bbf\u95ee\u8005\u7684\u771f\u5b9e\u516c\u7f51 IP \u8bb0\u5f55\u81f3\u5e26\u6709 TTL \u7684 <code>ipset<\/code> \u96c6\u5408\u4e2d\u3002<\/li>\n\n\n\n<li><strong>\u76ee\u6807\u6253\u6807<\/strong>\uff1a\u5f53\u5bb6\u4e2d\u4e3b\u673a\u6216 Docker \u5bb9\u5668\u56de\u590d\u6570\u636e\u5305\u65f6\uff0c\u53ea\u8981\u76ee\u6807 IP \u5c5e\u4e8e <code>ipset<\/code>\uff0c\u5373\u6253\u4e0a\u7b56\u7565\u6807\u8bb0\u5e76\u5f3a\u5236\u9001\u56de WireGuard \u7ba1\u9053\u539f\u8def\u8fd4\u56de\u3002<\/li>\n\n\n\n<li><strong>\u73af\u8def\u9632\u5fa1<\/strong>\uff1a\u811a\u672c\u81ea\u52a8\u63d0\u53d6\u5e76\u8c41\u514d VPS Endpoint \u8282\u70b9 IP\uff0c\u9632\u6b62 WireGuard \u5efa\u7acb\u96a7\u9053\u7684\u6d41\u91cf\u88ab\u8bef\u8def\u7531\u81f3\u96a7\u9053\u5185\u90e8\u800c\u5bfc\u81f4\u65ad\u8fde\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u5b9e\u73b0\u4e86<strong>\u65e0\u9700\u4fee\u6539 Docker \u7f51\u7edc<\/strong>\u3001<strong>\u5b8c\u7f8e\u900f\u4f20\u5ba2\u6237\u7aef\u771f\u5b9e IP<\/strong>\u3001<strong>\u7eaf\u5185\u6838\u6001\u9ad8\u541e\u5410<\/strong>\u4e14\u652f\u6301\u5168\u7aef\u53e3\u8f6c\u53d1\u7684\u5b8c\u7f8e\u5185\u7f51\u7a7f\u900f\u65b9\u6848\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u81f3\u6b64\uff0c\u6211\u4eec\u83b7\u5f97\u4e86\u540c\u65f6\u5177\u6709\u4ee5\u4e0b\u4f18\u70b9\u7684\u5b8c\u7f8e\u5185\u7f51\u7a7f\u900f\uff01<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ad8\u6027\u80fd\uff0cwireguard+iptables\u7eaf\u5185\u6838\u6001\u5904\u7406 (<s>\u79c1\u3001\u9ad8\u6027\u80fd\u3067\u3059\u304b\u3089\uff01<\/s>)<\/li>\n\n\n\n<li>\u5b8c\u5168\u5f00\u6e90\u79c1\u6709\u5316\u90e8\u7f72\uff0c\u4e0d\u4f9d\u8d56\u4efb\u4f55\u5546\u4e1a\u8f6f\u4ef6<\/li>\n\n\n\n<li>\u5b8c\u7f8e\u7684tcp\/udp\u771f\u5b9eip\u900f\u4f20\uff0c\u65e0\u9700\u670d\u52a1\u7aef\u989d\u5916\u652f\u6301<\/li>\n\n\n\n<li>\u7aef\u53e3\u8303\u56f4\u8f6c\u53d1\uff0c\u6216\u8005\u5168\u7aef\u53e3\u8f6c\u53d1<\/li>\n\n\n\n<li>\u5f3a\u517c\u5bb9\u6027\uff0c\u5b8c\u7f8e\u652f\u6301docker\uff0c\u7ecf\u8fc7masquerade\u7b49\u590d\u6742\u7f51\u7edc\u73af\u5883\u540e\u4ecd\u80fd\u6b63\u5e38\u5de5\u4f5c<\/li>\n\n\n\n<li>\u90e8\u7f72\u8981\u6c42\u5bbd\u677e\uff0c\u914d\u7f6e\u7b80\u5355\uff0c\u53ef\u4ee5\u53c2\u8003\u524d\u6587\u914d\u7f6e<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u90e8\u7f72<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u5f53\u7136\u8981\u628awireguard\u5f04\u901a\u4e86\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u914d\u7f6e\u6587\u4ef6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>post-up:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nset -e\n\nWG_IFACE=\"wg0\"\nROUTING_TABLE=\"4242\"\nMARK_VAL=\"0x42\"\nIPSET_NAME=\"wg_peers\"\nLAN_NET=\"192.168.1.0\/24\"\nTTL=3600\nWG_CONF=\"\/etc\/wireguard\/${WG_IFACE}.conf\"\n\necho \"&#91;$(date)] Setting up dynamic WG peer routing...\"\n\n#########################################\n# 0. \u81ea\u52a8\u63d0\u53d6 WG Endpoint \u5916\u7f51 IP (\u5173\u952e\u9632\u5fa1!)\n#########################################\n# \u4ece wg0.conf \u4e2d\u63d0\u53d6 Endpoint \u7684 IP \u5730\u5740\nENDPOINT_IP=$(grep -iE '^\\s*Endpoint\\s*=' \"${WG_CONF}\" | awk -F'&#91;: ]+' '{print $3}' | head -n 1 || true)\n\nif &#91; -n \"${ENDPOINT_IP}\" ]; then\n    echo \"&#91;$(date)] Detected WG Endpoint IP: ${ENDPOINT_IP}, it will be EXCLUDED from ipset.\"\nfi\n\n#########################################\n# 1. \u521b\u5efa ipset\n#########################################\nipset create ${IPSET_NAME} hash:ip timeout ${TTL} -exist\n\n# \u5982\u679c Endpoint IP \u5728 ipset \u4e2d\uff08\u53ef\u80fd\u662f\u6b8b\u7559\u810f\u6570\u636e\uff09\uff0c\u7acb\u523b\u5220\u9664\u5b83\u89e3\u5957\uff01\nif &#91; -n \"${ENDPOINT_IP}\" ]; then\n    ipset del ${IPSET_NAME} ${ENDPOINT_IP} 2&gt;\/dev\/null || true\nfi\n\n#########################################\n# 2. WireGuard \u8def\u7531\u8868\u914d\u7f6e\n#########################################\nip route replace default dev ${WG_IFACE} table ${ROUTING_TABLE}\n\n#########################################\n# 3. Policy Routing (\u7b56\u7565\u8def\u7531)\n#########################################\nip rule del pref 10 2&gt;\/dev\/null || true\nip rule del pref 100 2&gt;\/dev\/null || true\n\n# LAN \u6d41\u91cf\u6c38\u8fdc\u8d70 main \u8868\nip rule add to ${LAN_NET} lookup main pref 10\n\n# \u88ab\u6807\u8bb0\u7684 peer \u6d41\u91cf\u8d70 WG \u8def\u7531\u8868 (4242)\nip rule add fwmark ${MARK_VAL} lookup ${ROUTING_TABLE} pref 100\n\n#########################################\n# 4. iptables \u89c4\u5219\u914d\u7f6e (\u81ea\u5b9a\u4e49\u94fe)\n#########################################\niptables -t mangle -N WG_PEER_IN 2&gt;\/dev\/null || true\niptables -t mangle -N WG_PEER_OUT 2&gt;\/dev\/null || true\n\niptables -t mangle -F WG_PEER_IN\niptables -t mangle -F WG_PEER_OUT\n\niptables -t mangle -C PREROUTING -j WG_PEER_IN 2&gt;\/dev\/null || iptables -t mangle -A PREROUTING -j WG_PEER_IN\niptables -t mangle -C OUTPUT -j WG_PEER_OUT 2&gt;\/dev\/null || iptables -t mangle -A OUTPUT -j WG_PEER_OUT\n\n#########################################\n# 5. \u8bb0\u5f55 WG Peer (\u5165\u53e3\u8bb0\u5f55\u4e0e TTL \u5237\u65b0)\n#########################################\n# 5.1 \u5ffd\u7565 LAN \u5185\u90e8\u6d41\u91cf\niptables -t mangle -A WG_PEER_IN -i ${WG_IFACE} -s ${LAN_NET} -j RETURN\n\n# 5.2 \u3010\u6838\u5fc3\u4fee\u590d\u3011\uff1a\u7edd\u5bf9\u7981\u6b62\u5c06 WG Endpoint \u8282\u70b9\u7684\u516c\u7f51 IP \u5199\u5165 ipset\uff01\nif &#91; -n \"${ENDPOINT_IP}\" ]; then\n    iptables -t mangle -A WG_PEER_IN -s ${ENDPOINT_IP} -j RETURN\nfi\n\n# 5.3 \u8bb0\u5f55 WireGuard \u5165\u7ad9\u6d41\u91cf IP \u5e76\u66f4\u65b0 TTL\niptables -t mangle -A WG_PEER_IN -i ${WG_IFACE} -j SET --add-set ${IPSET_NAME} src --exist --timeout ${TTL}\n\n#########################################\n# 6. \u5bf9\u76ee\u6807 Peer \u6253 Mark (\u652f\u6301\u8f6c\u53d1\u4e0e\u672c\u673a\u6d41\u91cf)\n#########################################\n# 6.1 \u672c\u673a\u53d1\u51fa\u7684\u6d41\u91cf -&gt; \u6253 Mark\niptables -t mangle -A WG_PEER_OUT -m set --match-set ${IPSET_NAME} dst -j MARK --set-mark ${MARK_VAL}\n\n# 6.2 Docker \u7b49\u5bb9\u5668\/\u8f6c\u53d1\u53d1\u51fa\u7684\u6d41\u91cf -&gt; \u6253 Mark\niptables -t mangle -A WG_PEER_IN ! -i ${WG_IFACE} -m set --match-set ${IPSET_NAME} dst -j MARK --set-mark ${MARK_VAL}\n\n#########################################\n# 7. \u5bf9 WG \u51fa\u53e3\u6d41\u91cf\u505a MASQUERADE\n#########################################\niptables -t nat -C POSTROUTING -o ${WG_IFACE} -j MASQUERADE 2&gt;\/dev\/null || iptables -t nat -A POSTROUTING -o ${WG_IFACE} -j MASQUERADE\n\n#########################################\n# 8. \u5173\u95ed rp_filter (\u53cd\u5411\u8def\u5f84\u8fc7\u6ee4)\n#########################################\nsysctl -q -w net.ipv4.conf.all.rp_filter=0\nsysctl -q -w net.ipv4.conf.default.rp_filter=0\nsysctl -q -w net.ipv4.conf.${WG_IFACE}.rp_filter=0\n\n#########################################\n# 9. \u5237\u65b0\u8def\u7531\u7f13\u5b58\n#########################################\nip route flush cache\n\necho \"&#91;$(date)] Dynamic WG peer routing successfully loaded with Endpoint immunity!\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>post-down:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nset -e\n\nWG_IFACE=\"wg0\"\nROUTING_TABLE=\"4242\"\nMARK_VAL=\"0x42\"\nIPSET_NAME=\"wg_peers\"\nLAN_NET=\"192.168.1.0\/24\"\n\necho \"&#91;$(date)] Cleaning up dynamic WG peer routing...\"\n\n#########################################\n# 1. \u89e3\u6302\u5e76\u5220\u9664 iptables \u81ea\u5b9a\u4e49\u94fe\n#########################################\n# \u5148\u4ece\u4e3b\u94fe\u4e2d\u89e3\u6302\uff08\u5ffd\u7565\u89e3\u6302\u5931\u8d25\u7684\u62a5\u9519\uff09\niptables -t mangle -D PREROUTING -j WG_PEER_IN 2>\/dev\/null || true\niptables -t mangle -D OUTPUT -j WG_PEER_OUT 2>\/dev\/null || true\n\n# \u6e05\u7a7a\u81ea\u5b9a\u4e49\u94fe\u4e2d\u7684\u89c4\u5219\niptables -t mangle -F WG_PEER_IN 2>\/dev\/null || true\niptables -t mangle -F WG_PEER_OUT 2>\/dev\/null || true\n\n# \u5220\u9664\u81ea\u5b9a\u4e49\u94fe\niptables -t mangle -X WG_PEER_IN 2>\/dev\/null || true\niptables -t mangle -X WG_PEER_OUT 2>\/dev\/null || true\n\n#########################################\n# 2. \u5220\u9664 Policy Routing (\u7b56\u7565\u8def\u7531)\n#########################################\n# \u6309 pref \u5f7b\u5e95\u5220\u9664\u6dfb\u52a0\u7684\u8def\u7531\u89c4\u5219\nip rule del pref 10 2>\/dev\/null || true\nip rule del pref 100 2>\/dev\/null || true\n\n#########################################\n# 3. \u6e05\u7406\u81ea\u5b9a\u4e49\u8def\u7531\u8868 (4242)\n#########################################\nip route flush table ${ROUTING_TABLE} 2>\/dev\/null || true\n\n#########################################\n# 4. \u9500\u6bc1 ipset\n#########################################\n# -F \u6e05\u7a7a\uff0c-X \u9500\u6bc1\uff08-exist \u907f\u514d\u4e0d\u5b58\u5728\u65f6\u62a5\u9519\uff09\nipset flush ${IPSET_NAME} 2>\/dev\/null || true\nipset destroy ${IPSET_NAME} 2>\/dev\/null || true\n\n#########################################\n# 5. \u6062\u590d rp_filter (\u53ef\u9009)\n#########################################\n# \u6062\u590d\u4e3a Linux \u9ed8\u8ba4\u7684\u4e25\u683c\/\u677e\u6563\u6a21\u5f0f (\u901a\u5e38\u7cfb\u7edf\u9ed8\u8ba4\u4e3a 1 \u6216 2)\nsysctl -q -w net.ipv4.conf.all.rp_filter=2 2>\/dev\/null || true\nsysctl -q -w net.ipv4.conf.default.rp_filter=2 2>\/dev\/null || true\n\n#########################################\n# 6. \u5237\u65b0\u8def\u7531\u7f13\u5b58\n#########################################\nip route flush cache\n\necho \"&#91;$(date)] Dynamic WG peer routing cleaned up successfully.\"\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">(\u53ef\u9009)\u8f85\u52a9watchdog\u811a\u672c<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n\n# \u914d\u7f6e\u90e8\u5206\uff1a\u8bf7\u786e\u4fdd WG_UP_SCRIPT \u6307\u5411\u4f60\u6700\u65b0\u7684 PostUp \u914d\u7f6e\u811a\u672c\u8def\u5f84\nWG_UP_SCRIPT=\"\/etc\/wireguard\/ip_post_up.sh\"\n\nWG_IFACE=\"wg0\"\nROUTING_TABLE=\"4242\"\nMARK_VAL=\"0x42\"\nIPSET_NAME=\"wg_peers\"\n\n# 1. \u68c0\u67e5\u7f51\u5361\u662f\u5426\u5b58\u5728 (\u9632\u6b62 WireGuard \u5904\u4e8e Down \u72b6\u6001\u65f6\u8bef\u89e6\u53d1)\nif ! ip link show \"$WG_IFACE\" &gt; \/dev\/null 2&gt;&amp;1; then\n    # WG \u63a5\u53e3\u672a\u542f\u52a8\uff0c\u9759\u9ed8\u9000\u51fa\n    exit 0\nfi\n\nNEED_RECOVER=0\n\n# 2. \u68c0\u67e5\u7b56\u7565\u8def\u7531\u662f\u5426\u5b58\u5728 (fwmark 0x42 -&gt; lookup 4242)\nif ! ip rule list | grep -q \"fwmark ${MARK_VAL}.*lookup ${ROUTING_TABLE}\"; then\n    echo \"&#91;$(date)] Watchdog: Missing ip rule for fwmark ${MARK_VAL}.\"\n    NEED_RECOVER=1\nfi\n\n# 3. \u68c0\u67e5 ipset \u5bb9\u5668\u662f\u5426\u5b58\u5728\nif ! ipset list \"${IPSET_NAME}\" &gt; \/dev\/null 2&gt;&amp;1; then\n    echo \"&#91;$(date)] Watchdog: Missing ipset ${IPSET_NAME}.\"\n    NEED_RECOVER=1\nfi\n\n# 4. \u68c0\u67e5 iptables \u81ea\u5b9a\u4e49\u94fe\u6302\u8f7d\u70b9\u662f\u5426\u5b58\u5728\nif ! iptables -t mangle -C PREROUTING -j WG_PEER_IN &gt; \/dev\/null 2&gt;&amp;1 || \\\n   ! iptables -t mangle -C OUTPUT -j WG_PEER_OUT &gt; \/dev\/null 2&gt;&amp;1; then\n    echo \"&#91;$(date)] Watchdog: Missing iptables mangle hooks.\"\n    NEED_RECOVER=1\nfi\n\n# 6. \u5982\u679c\u53d1\u73b0\u4efb\u4f55\u4e00\u9879\u7f3a\u5931\uff0c\u91cd\u65b0\u6267\u884c\u4fee\u590d\nif &#91; \"${NEED_RECOVER}\" -eq 1 ]; then\n    echo \"&#91;$(date)] Watchdog: Inconsistency detected! Restoring WG peer routing rules...\"\n    \n    if &#91; -f \"${WG_UP_SCRIPT}\" ]; then\n        bash \"${WG_UP_SCRIPT}\"\n        echo \"&#91;$(date)] Watchdog: Restored successfully using ${WG_UP_SCRIPT}.\"\n    else\n        echo \"&#91;$(date)] Watchdog ERROR: Setup script ${WG_UP_SCRIPT} not found!\"\n        exit 1\n    fi\nfi\n\n# \u89c4\u5219\u5168\u90e8\u5b8c\u597d\uff0c\u9759\u9ed8\u9000\u51fa\nexit 0\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u68c0\u67e5\u8fd0\u884c\u72b6\u6001<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo ipset list wg_peers| grep -i \"Number of entries\"\nNumber of entries: 3568<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><s>\u81f3\u6b64\u827a\u672f\u5df2\u6210<\/s><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7ed3\u5c3e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d34\u522b\u611f\u8c22<a href=\"https:\/\/superuser.com\/users\/1786802\/turbothorsten\">turbothorsten<\/a>\u7684\u56de\u5e16\u7684\u542f\u53d1\uff1a<a href=\"https:\/\/superuser.com\/questions\/1777082\/using-vps-to-give-public-ip-to-on-home-network\/1777106\">https:\/\/superuser.com\/questions\/1777082\/using-vps-to-give-public-ip-to-on-home-network\/1777106<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6587\u7ae0\u5185\u5bb9\u9075\u5faa <strong>CC BY 4.0<\/strong>\uff0c\u4ee3\u7801\/\u811a\u672c\u9075\u5faa <strong>MIT License<\/strong>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8ff0 \u524d\u6587\u7684\u63d0\u51fa\u7684\u57fa\u4e8e\u6e90IP\u7684\u7b56\u7565\u8def\u7531\u65b9\u6848\u5b58\u5728\u672a\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u5373\uff0c\u65e0\u6cd5\u8bbf\u95eedocker\u6620\u5c04\u51fa\u7684\u7aef\u53e3\uff0c\u56e0\u4e3adock [&hellip;]<\/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":[],"class_list":["post-1911","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/posts\/1911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/comments?post=1911"}],"version-history":[{"count":9,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/posts\/1911\/revisions"}],"predecessor-version":[{"id":1923,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/posts\/1911\/revisions\/1923"}],"wp:attachment":[{"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/media?parent=1911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/categories?post=1911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1212967.xyz\/blog\/wp-json\/wp\/v2\/tags?post=1911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}