{"id":8870,"date":"2022-05-05T14:41:46","date_gmt":"2022-05-05T06:41:46","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=8870"},"modified":"2024-08-30T12:28:19","modified_gmt":"2024-08-30T04:28:19","slug":"pfsense-openvpn%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=8870","title":{"rendered":"pfSense OpenVPN\u670d\u52a1\u5668\u914d\u7f6e\u6307\u5357"},"content":{"rendered":"<p style=\"text-align: justify;\">\u901a\u8fc7\u5728pfSense\u9632\u706b\u5899\u4e0a\u642d\u5efaOpenVPN\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u5b89\u5168\u5730\u8fde\u63a5\u5230\u5bb6\u5ead\u7f51\u7edc\u6216\u529e\u516c\u7f51\u7edc\uff0c\u8bbf\u95ee\u7f51\u7edc\u91cc\u7684\u7684\u672c\u5730\u8ba1\u7b97\u673a\uff0c\u751a\u81f3\u4f7f\u7528\u672c\u5730\u7684\u4e92\u8054\u7f51\u8fde\u63a5\u3002\u4e0b\u9762\u4ecb\u7ecd\u914d\u7f6eOpenVPN\u670d\u52a1\u5668\u7684\u8fc7\u7a0b\u3002<\/p>\n<h2 id=\"step-1-creating-a-noip-account\" style=\"text-align: justify;\">\u7b2c 1 \u6b65 &#8211; \u521b\u5efa\u4e00\u4e2aNO-IP\u5e10\u6237<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u662f\u9759\u6001IP\u6216\u5df2\u7ecf\u5b89\u88c5\u4e86\u5176\u4ed6\u52a8\u6001\u57df\u540d\u670d\u52a1\uff0c\u53ef\u4ee5\u8df3\u8fc7\u672c\u6b65\u9aa4\u3002\u8f6c\u5230<a href=\"https:\/\/www.noip.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">NO-IP<\/a>\u4e3a\u81ea\u5df1\u7684\u9632\u706b\u5899\u521b\u5efa\u4e00\u4e2a\u4e3b\u673a\u540d\u3002<\/p>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8902 aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436.jpg\" alt=\"\" width=\"1235\" height=\"822\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436.jpg 1235w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436-300x200.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436-1024x682.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436-768x511.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/Jietu20220505-144436-451x300.jpg 451w\" sizes=\"auto, (max-width: 1235px) 100vw, 1235px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u5355\u51fb\u6ce8\u518c\u540e\uff0c\u586b\u5199\u5fc5\u586b\u5b57\u6bb5\u5e76\u521b\u5efa\u5e10\u6237\u3002\u514d\u8d39\u5e10\u6237\u8981\u6c42\u6bcf 30 \u5929\u786e\u8ba4\u4e00\u6b21\u4e3b\u673a\u540d\u3002\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u6fc0\u6d3b\u5e10\u6237\uff0c\u786e\u8ba4\u540e\u4f7f\u7528\u5e10\u6237\u767b\u5f55 NO-IP \u5e76\u6839\u636e\u63d0\u793a\u521b\u5efa\u7528\u6237\u540d\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728NO-IP\u7684\u4eea\u8868\u677f\u4e2d\u5bfc\u822a\u5230Dynamic DNS -&gt; No-IP Hostnames\uff0c\u53ef\u4ee5\u770b\u5230\u4f60\u7684IP \u5730\u5740\u548c DynDNS\u540d\u79f0\u3002\u5982\u679c\u4f7f\u7528\u5176\u4ed6 IP\uff0c\u8bf7\u76f8\u5e94\u5730\u8c03\u6574\u6761\u76ee\u3002\u67e5\u8be2\u81ea\u5df1\u7684\u516c\u7f51IP\uff0c\u8bf7\u8bbf\u95ee<a href=\"https:\/\/whatsmyip.com\/\">\u6b64\u7f51\u7ad9\u3002<\/a><\/p>\n<figure class=\"wp-block-image size-large\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8882\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1.jpg\" alt=\"\u4e3a pfSense 2.5 \u8bbe\u7f6e DynDNS\" width=\"810\" height=\"343\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1-300x127.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1-768x325.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000207-1024x433-1-500x212.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u597d\u7684\uff0c\u73b0\u5728\u6211\u4eec\u6709\u4e86\u4e00\u4e2a DynDNS \u5e10\u6237\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u53ef\u4ee5\u5728 pfSense \u4e2d\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<h2 id=\"step-2-setting-up-dyndns-in-pfsense\" style=\"text-align: justify;\">\u7b2c 2 \u6b65 &#8211; \u5728 pfSense \u4e2d\u8bbe\u7f6e DynDNS<\/h2>\n<p style=\"text-align: justify;\">\u5728 pfSense \u4e2d\uff0c\u5bfc\u822a\u5230\u670d\u52a1&gt;DDNS\uff0c\u5355\u51fb\u6dfb\u52a0\u3002\u586b\u5199\u5fc5\u586b\u5b57\u6bb5\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p style=\"text-align: justify;\">\u76d1\u89c6\u63a5\u53e3\u9009WAN\u3002\u4e3b\u673a\u540d\u662fNo-IP \u4e0a\u8bbe\u7f6e\u7684\u4e3b\u673a\u540d\uff0c\u672c\u4f8b\u4e2d\u662f ceos3c.hopto.org \u3002\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u8f93\u5165\u63cf\u8ff0\u8bf4\u660e\uff0c\u7136\u540e\u5355\u51fb\u4fdd\u5b58\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000220-894x1024-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8883\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000220-894x1024-1.jpg\" alt=\"pfSense DYNDNS \u8bbe\u7f6e\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"928\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000220-894x1024-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000220-894x1024-1-262x300.jpg 262w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000220-894x1024-1-768x880.jpg 768w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<p style=\"text-align: justify;\">\u5b8c\u6210\u6b64\u64cd\u4f5c\u540e\uff0c\u4f1a\u770b\u5230\u7eff\u8272\u7684\u7f13\u5b58 IP\uff0c\u8fd9\u610f\u5473\u7740 IP\u5730\u5740\u5df2\u7ecf\u66f4\u65b0\u3002<\/p>\n<figure class=\"wp-block-image size-large\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8884\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1.jpg\" alt=\"pfSense DYNDNS \u8bbe\u7f6e\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"262\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1-300x97.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1-768x248.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000221-1024x331-1-500x162.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u5b8c\u6210\u4e86\u52a8\u6001\u57df\u540d\u7684\u8bbe\u7f6e\u540e\uff0c\u7ee7\u7eed\u5728pfSense\u4e0a\u5b89\u88c5OpenVPN \u5ba2\u6237\u7aef\u5bfc\u51fa\u5305\u3002<\/p>\n<h2 id=\"step-3-installing-the-client-export-package\" style=\"text-align: justify;\">\u7b2c 3 \u6b65 &#8211; \u5b89\u88c5\u5ba2\u6237\u7aef\u5bfc\u51fa\u5305<\/h2>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u65b9\u4fbf\u540e\u9762\u4e0b\u8f7dOpenVPN\u5b89\u88c5\u5305\uff0c\u6211\u4eec\u9700\u8981\u5148\u5b89\u88c5\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u3002\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u63d2\u4ef6\u7ba1\u7406&gt;\u53ef\u7528\u63d2\u4ef6\uff0c\u7136\u540e\u641c\u7d22OpenVPN\u3002\u5355\u51fbopenvpn-client-export\u63d2\u4ef6\u8fb9\u4e0a\u7684&#8221; Install &#8220;\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8885\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1.jpg\" alt=\"\u5728 pfSense \u4e0a\u5b89\u88c5 OpenVPN Client Export\" width=\"810\" height=\"427\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1-300x158.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1-768x405.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000209-1-1024x540-1-500x264.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<h2 id=\"step-4-configure-openvpn-on-pfsense-using-the-openvpn-wizard\" style=\"text-align: justify;\">\u7b2c 4 \u6b65 &#8211; \u4f7f\u7528OpenVPN\u5411\u5bfc\u5728pfSense\u4e0a\u914d\u7f6eOpenVPN<\/h2>\n<p style=\"text-align: justify;\">\u8f6c\u5230VPN &gt;OpenVPN\u5e76\u5355\u51fb\u5411\u5bfc\u5f00\u59cb\u914d\u7f6e\u8fc7\u7a0b\u3002<\/p>\n<p id=\"server-type\" style=\"text-align: justify;\"><strong>\u670d\u52a1\u5668\u7c7b\u578b<\/strong><\/p>\n<p style=\"text-align: justify;\">\u670d\u52a1\u5668\u7c7b\u578b\u9009\u62e9\u672c\u5730\u7528\u6237\u8bbf\u95ee\u3002<\/p>\n<figure class=\"wp-block-image size-large\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8886\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1.jpg\" alt=\"\u5728 pfSense \u4e0a\u914d\u7f6e OpenVPN\" width=\"810\" height=\"315\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1-300x117.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1-768x299.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000210-1024x398-1-500x194.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<p id=\"creating-a-certificate-authority\" style=\"text-align: justify;\"><strong>\u521b\u5efa\u8bc1\u4e66\u9881\u53d1\u673a\u6784<\/strong><\/p>\n<p style=\"text-align: justify;\">\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff0c\u5e76\u8f93\u5165\u63cf\u8ff0\u6027\u540d\u79f0\u3002\u5355\u51fb\u6dfb\u52a0\u65b0CA\u7ee7\u7eed\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8887\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1.jpg\" alt=\"\u5728 pfSense \u4e0a\u521b\u5efa\u8bc1\u4e66\u9881\u53d1\u673a\u6784\" width=\"810\" height=\"570\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1-300x211.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1-768x540.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000211-1024x721-1-426x300.jpg 426w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<p id=\"creating-a-server-certificate\" style=\"text-align: justify;\"><strong>\u521b\u5efa\u670d\u52a1\u5668\u8bc1\u4e66<\/strong><\/p>\n<p style=\"text-align: justify;\">\u548c\u4e0a\u9762\u4e00\u6837\uff0c\u8f93\u5165\u4e00\u4e2a\u63cf\u8ff0\u6027\u7684\u540d\u79f0\uff0c\u7136\u540e\u53c2\u7167\u4e0b\u9762\u7684\u622a\u56fe\u586b\u5199\u3002<\/p>\n<div class=\"code-block code-block-6\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8888\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1.jpg\" alt=\"pfSense \u4e0a\u7684 OpenVPN \u670d\u52a1\u5668\u8bc1\u4e66\" width=\"810\" height=\"573\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1-300x212.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1-768x543.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000212-1024x724-1-424x300.jpg 424w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/div>\n<p id=\"server-setup\" style=\"text-align: justify;\"><strong>\u670d\u52a1\u5668\u8bbe\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u786e\u4fdd\u9009\u62e9\u4e0b\u9762\u622a\u56fe\u4e2d\u7684\u6240\u6709\u5185\u5bb9\u3002<\/p>\n<p id=\"general-openvpn-server-information\" style=\"text-align: justify;\"><strong>1\u3001\u5e38\u89c4\u8bbe\u7f6e<\/strong><\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8889\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1.jpg\" alt=\"pfSense OpenVPN \u670d\u52a1\u5668\" width=\"809\" height=\"388\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1.jpg 809w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1-300x144.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1-768x368.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000213-1024x491-1-500x240.jpg 500w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/a><\/figure>\n<\/div>\n<p id=\"cryptographic-settings\" style=\"text-align: justify;\"><strong>2\u3001\u52a0\u5bc6\u8bbe\u7f6e<\/strong><\/p>\n<figure class=\"wp-block-image size-large\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8890\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1.jpg\" alt=\"pfSense \u5411\u5bfc\u52a0\u5bc6\u8bbe\u7f6e\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"681\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1-300x252.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1-768x646.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000214-1024x861-1-357x300.jpg 357w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<p id=\"tunnel-settings\" style=\"text-align: justify;\"><strong>3\u3001\u96a7\u9053\u8bbe\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u8fd9\u91cc\u7684\u8bbe\u7f6e\u975e\u5e38\u91cd\u8981\u3002\u96a7\u9053\u7f51\u7edc\u4e0d\u80fd\u4e0e\u672c\u5730\u5df2\u4f7f\u7528\u7684\u4efb\u4f55\u7f51\u7edc\u76f8\u540c\u3002\u5982\u679c\u672c\u5730\u7f51\u7edc\u7684\u5730\u5740\u8303\u56f4\u4e3a192.168.10.0\/24\uff0c\u53ef\u4ee5\u9009\u62e9192.168.11.0\/24 \u4f5c\u4e3a\u96a7\u9053\u7f51\u7edc\u3002\u8fde\u63a5VPN\u540e\uff0c\u5ba2\u6237\u7aef\u7684IP\u5c06\u4e3a192.168.11.X\u3002<\/p>\n<p style=\"text-align: justify;\">\u8f93\u5165\u672c\u5730\u7f51\u7edc\u7684\u5730\u5740\u3002\u5982\u679c\u4e0d\u60f3\u8ba9\u5ba2\u6237\u7aef\u5728\u8fde\u63a5\u5230 VPN \u65f6\u8bbf\u95ee\u672c\u5730\u7f51\u7edc\uff0c\u8bf7\u5c06\u6b64\u5b57\u6bb5\u7559\u7a7a\u3002\u5982\u679c\u60f3\u901a\u8fc7VPN \u8bbf\u95ee\u672c\u5730\u7f51\u7edc\u4e2d\u7684\u8d44\u6e90\uff0c\u4f8b\u5982NAS \uff0c\u8bf7\u5728\u6b64\u5904\u586b\u5199\u672c\u5730\u7f51\u7edcIP\u8303\u56f4\u3002<\/p>\n<p>\u6ce8\u610f\uff1a\u5982\u679c\u5e0c\u671b\u901a\u8fc7VPN\u670d\u52a1\u5668\u8bbf\u95ee\u4e92\u8054\u7f51\uff0c\u5219\u8fd8\u5fc5\u987b\u9009\u4e2d\u91cd\u5b9a\u5411\u7f51\u5173\u9009\u9879\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8891\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1.jpg\" alt=\"pfSense \u5411\u5bfc\u96a7\u9053\u8bbe\u7f6e\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"543\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1-300x201.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1-768x515.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000215-1024x686-1-448x300.jpg 448w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<p id=\"client-settings\" style=\"text-align: justify;\"><strong>4\u3001\u5ba2\u6237\u7aef\u8bbe\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u8fd9\u91cc\u8981\u4fee\u6539\u4e00\u4e0bDNS \u670d\u52a1\u5668\u3002\u53ef\u4ee5\u5c06\u672c\u5730pfSense\u4f5c\u4e3aDNS \u670d\u52a1\u5668\u63a8\u9001\u5230\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\uff0c\u4ee5\u4fbf\u89e3\u6790\u5185\u90e8\u7f51\u7edc\u540d\u79f0\u3002\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u8f93\u5165\u516c\u5171DNS\u5730\u5740\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8892\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216.jpg\" alt=\"pfSense \u5411\u5bfc\u5ba2\u6237\u7aef\u8bbe\u7f6e\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"749\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216-300x277.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216-768x710.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000216-324x300.jpg 324w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<p id=\"firewall-rules\" style=\"text-align: justify;\"><strong>5\u3001\u9632\u706b\u5899\u89c4\u5219<\/strong><\/p>\n<p style=\"text-align: justify;\">\u786e\u4fdd\u9009\u4e2d\u4e24\u4e2a\u590d\u9009\u6846\u6765\u521b\u5efaOpenVPN\u9632\u706b\u5899\u7684\u8bbf\u95ee\u89c4\u5219\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8893\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1.jpg\" alt=\"pfSense \u5411\u5bfc\u9632\u706b\u5899\u89c4\u5219\u4e0a\u7684 OpenVPN\" width=\"810\" height=\"395\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1-300x146.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1-768x375.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000217-1024x499-1-500x244.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<p id=\"finishing-the-setup\" style=\"text-align: justify;\"><strong>6\u3001\u5b8c\u6210\u8bbe\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u6700\u540e\uff0c\u5355\u51fb\u5b8c\u6210\uff0c\u5b8c\u6210pfSense OpenVPN\u670d\u52a1\u5668\u7684\u914d\u7f6e\u3002<\/p>\n<div class=\"code-block code-block-8\" style=\"text-align: justify;\"><\/div>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8894\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1.jpg\" alt=\"\u5b89\u88c5 OpenVPN \u6700\u540e\u4e00\u6b65\" width=\"810\" height=\"258\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1-300x96.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1-768x245.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000218-1024x326-1-500x159.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<h2 id=\"step-5-creating-a-vpn-user\" style=\"text-align: justify;\">\u7b2c 5 \u6b65 &#8211; \u521b\u5efaVPN\u7528\u6237<\/h2>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230\u7cfb\u7edf\/\u7528\u6237\u7ba1\u7406\u5e76\u5355\u51fb \u6dfb\u52a0\u4e00\u4e2a\u65b0\u7528\u6237\u3002<\/p>\n<p style=\"text-align: justify;\">\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u7136\u540e\u786e\u4fdd\u9009\u4e2d\u201c\u5355\u51fb\u521b\u5efa\u7528\u6237\u8bc1\u4e66\u201d\u3002\u586b\u5199\u6240\u6709\u5185\u5bb9\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002\u786e\u4fdd\u9009\u62e9\u4e4b\u524d\u521b\u5efa\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8895\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219.jpg\" alt=\"\u5728 pfSense \u4e0a\u521b\u5efa OpenVPN \u7528\u6237\" width=\"810\" height=\"722\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219-300x267.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219-768x685.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-on-pfsense-000219-337x300.jpg 337w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<h2 id=\"step-6-pfsense-openvpn-client-export\" style=\"text-align: justify;\">\u7b2c 6 \u6b65 &#8211; pfSense OpenVPN \u5ba2\u6237\u7aef\u5bfc\u51fa<\/h2>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230 VPN&gt;OpenVPN &gt; Client Export\u3002\u9009\u62e9\u4e4b\u524d\u8bbe\u7f6e\u7684 DynDNS \u540d\u79f0\u3002<\/p>\n<p id=\"openvpn-server-amp-client-connection-behaviour\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8896\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1.jpg\" alt=\"pfSense OpenVPN \u5ba2\u6237\u7aef\u5bfc\u51fa\" width=\"810\" height=\"684\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1-300x253.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1-768x649.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000222-1024x865-1-355x300.jpg 355w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u7136\u540e\u5411\u4e0b\u6eda\u52a8\uff0c\u627e\u5230\u6211\u4eec\u521a\u521a\u5728\u4e0a\u4e00\u6b65\u4e2d\u521b\u5efa\u7684VPN \u7528\u6237\uff0c\u7136\u540e\u9009\u62e9\u8981\u4e0b\u8f7d\u7684\u76f8\u5e94\u5b89\u88c5\u5305\u3002\u5bf9\u4e8eWindows 10\uff0c\u8bf7\u9009\u62e9Current Windows Installer 64-bit\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8897\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1.jpg\" alt=\"pfSense OpenVPN \u5ba2\u6237\u7aef\u5bfc\u51fa\" width=\"810\" height=\"325\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1.jpg 810w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1-300x120.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1-768x308.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000223-1024x411-1-500x201.jpg 500w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\n<\/div>\n<h2 id=\"step-7-installing-openvpn-on-windows-and-connecting\" style=\"text-align: justify;\">\u7b2c 7 \u6b65 &#8211; \u5728 Windows \u4e0a\u5b89\u88c5 OpenVPN \u5e76\u8fde\u63a5<\/h2>\n<p style=\"text-align: justify;\">\u5728\u5916\u90e8\u5ba2\u6237\u7aef\u4e0a\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u6240\u6709\u5185\u5bb9\u4fdd\u6301\u9ed8\u8ba4\u5373\u53ef\u3002\u5982\u679c\u63d0\u793a\u5b89\u88c5TAP\u7f51\u7edc\u9a71\u52a8\u7a0b\u5e8f\uff0c\u8bf7\u5b89\u63d0\u793a\u64cd\u4f5c\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u8fde\u63a5VPN\uff0c\u53ea\u8981\u8fd0\u884cOpenVPN GUI \uff0c\u4e00\u4e2a\u5e26\u6709\u50a8\u7269\u67dc\u7684\u5c0f\u76d1\u89c6\u5668\u56fe\u6807\u5c31\u4f1a\u51fa\u73b0\u5728\u4efb\u52a1\u680f\u4e2d\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000224.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8898\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000224.jpg\" alt=\"\u8fde\u63a5\u5230 pfSense OpenVPN\" width=\"237\" height=\"95\" \/><\/a><\/figure>\n<\/div>\n<p style=\"text-align: justify;\">\u53f3\u952e\u5355\u51fb\u5b83\u5e76\u9009\u62e9 Connect\u3002\u8f93\u5165VPN \u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u5355\u51fb\u786e\u5b9a\u8fdb\u884c\u8fde\u63a5\u3002\u5982\u679c\u8fde\u63a5\u6210\u529f\uff0c\u5c0f\u76d1\u89c6\u5668\u56fe\u6807\u5c31\u4f1a\u53d8\u4e3a\u7eff\u8272\u3002<\/p>\n<div class=\"wp-block-image\" style=\"text-align: justify;\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000225.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8899\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000225.jpg\" alt=\"\u8fde\u63a5\u5230 pfSense OpenVPN\" width=\"570\" height=\"372\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000225.jpg 570w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000225-300x196.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/05\/openvpn-pfsense-2.5-000225-460x300.jpg 460w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/figure>\n<\/div>\n<p style=\"text-align: justify;\">\u5982\u679c\u6b63\u786e\u6267\u884c\u4e86\u6bcf\u4e2a\u6b65\u9aa4\uff0c\u73b0\u5728\u5e94\u8be5\u5df2\u8fde\u63a5\u5e76\u80fd\u591f\u8bbf\u95ee\u5185\u90e8\u7f51\u7edc\u7684\u8d44\u6e90\u4e86\u3002<\/p>\n<h2 id=\"troubleshooting\" style=\"text-align: justify;\">\u6545\u969c\u6392\u9664<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u9047\u5230\u8bbf\u95ee\u6216\u8fde\u63a5\u95ee\u9898\uff0c\u9996\u5148\u8981\u68c0\u67e5\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"text-align: justify;\">\u68c0\u67e5OpenVPN \u670d\u52a1\u662f\u5426\u6b63\u5728\u8fd0\u884c\uff0c\u5bfc\u822a\u5230\u72b6\u6001&gt;\u670d\u52a1\uff0c\u67e5\u770b\u670d\u52a1\u72b6\u6001\u3002<\/li>\n<li style=\"text-align: justify;\">\u68c0\u67e5\u521b\u5efa\u7684\u9632\u706b\u5899\u89c4\u5219\uff0c\u5305\u62ec WAN \u548c OpenVPN \u89c4\u5219<\/li>\n<li style=\"text-align: justify;\">\u68c0\u67e5\u662f\u5426\u5728OpenVPN\u914d\u7f6e\u7684\u96a7\u9053\u548c\u672c\u5730\u7f51\u7edc\u4e0a\u8f93\u5165\u4e86\u6b63\u786e\u7684\u5b50\u7f51\u63a9\u7801 (192.168.1.0\/24)\u3002\u6ce8\u610f\u6700\u540e\u5fc5\u987b\u662f .0\/24\uff0c\u800c\u4e0d\u662f .1\/24 \u6216\u7c7b\u4f3c\u7684\u7f51\u7edc\u3002<\/li>\n<li style=\"text-align: justify;\">\u68c0\u67e5\u72b6\u6001&gt;\u7cfb\u7edf\u65e5\u5fd7\u4e0b\u7684\u7cfb\u7edf\u65e5\u5fd7\uff0c\u6765\u67e5\u627e\u8fde\u63a5\u5931\u8d25\u7684\u76f8\u5173\u63d0\u793a\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.ceos3c.com\/pfsense\/openvpn-on-pfsense\/\">\u539f\u6587\u5730\u5740<\/a><\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: -82px; top: 65px;\">\n<div class=\"gtx-trans-icon\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u5728pfSense\u9632\u706b\u5899\u4e0a\u642d\u5efaOpenVPN\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u5b89\u5168\u5730\u8fde\u63a5\u5230\u5bb6\u5ead &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=8870\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[114],"class_list":["post-8870","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-openvpn"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8870"}],"version-history":[{"count":3,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8870\/revisions"}],"predecessor-version":[{"id":13409,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8870\/revisions\/13409"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}