{"id":8781,"date":"2022-04-29T11:18:30","date_gmt":"2022-04-29T03:18:30","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=8781"},"modified":"2024-05-28T15:08:12","modified_gmt":"2024-05-28T07:08:12","slug":"%e7%a7%bb%e5%8a%a8%e5%ae%a2%e6%88%b7%e7%ab%af%e9%80%9a%e8%bf%87ipsec-vpn%e8%ae%bf%e9%97%aepfsense%e9%98%b2%e7%81%ab%e5%a2%99%e9%85%8d%e7%bd%ae%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=8781","title":{"rendered":"\u79fb\u52a8\u5ba2\u6237\u7aef\u901a\u8fc7IPsec VPN\u8bbf\u95eepfSense\u9632\u706b\u5899\u914d\u7f6e\u6307\u5357"},"content":{"rendered":"<p style=\"text-align: justify;\">\u8fdc\u7a0b\u7ba1\u7406pfSense\u9632\u706b\u5899\u7684\u65b9\u6cd5\u975e\u5e38\u591a\uff0c\u6700\u65b9\u4fbf\u7684\u662f\u5f00\u542fWAN\u63a5\u53e3\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u4f46\u8fd9\u6837\u505a\u53ef\u80fd\u4e0d\u592a\u5b89\u5168\uff0c\u6700\u5b89\u5168\u7684\u65b9\u6cd5\u662f\u901a\u8fc7VPN\u96a7\u9053\u8fdb\u884c\u8fdc\u7a0b\u8bbf\u95ee\uff0c\u4e0b\u9762\u4ee5\u4f7f\u7528IPsec VPN\u4e3a\u4f8b\uff0c\u4ecb\u7ecd\u8fdc\u7a0b\u8bbf\u95ee\u914d\u7f6e\u8fc7\u7a0b\u3002\u6240\u6709\u914d\u7f6e\u90fd\u57fa\u4e8e<a href=\"https:\/\/blog.pfchina.org\/?p=8463\">pfSense plus 22.01\u4e2d\u6587\u5b9a\u5236\u7248<\/a>\u7cfb\u7edf\u5b8c\u6210\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u9632\u706b\u5899IPsec\u914d\u7f6e<\/h1>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u914d\u7f6e\u8bc1\u4e66\u53ca\u5728\u624b\u673a\u4e0a\u5bfc\u5165\u8bc1\u4e66\u64cd\u4f5c\u76f8\u5bf9\u590d\u6742\uff0c\u672c\u6b21\u914d\u7f6e\u7684IPsec\u91c7\u7528Mutual PSK + Xauth\u8ba4\u8bc1\u65b9\u5f0f\u3002\u9632\u706b\u5899IPsec\u7684\u914d\u7f6e\u4e3b\u8981\u5305\u62ec\u7528\u6237\u914d\u7f6e\u3001\u79fb\u52a8\u5ba2\u6237\u7aef\u914d\u7f6e\u3001\u9636\u6bb51\u548c\u9636\u6bb52\u914d\u7f6e\u3001\u9632\u706b\u5899\u89c4\u5219\u914d\u7f6e\u7b49\u4e94\u4e2a\u65b9\u9762\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7528\u6237\u914d\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u6dfb\u52a0\u4e00\u4e2aVPN\u7ec4\uff0c\u5e76\u8d4b\u4e88\u7ec4IPsec VPN\u62e8\u53f7\u8ba4\u8bc1\u7684\u6743\u9650\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406\uff0c\u7ec4\u9009\u9879\u5361\uff0c\u6dfb\u52a0\u4e00\u4e2aIPSEC_VPN\u7528\u6237\u7ec4\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8782\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24.png\" alt=\"\" width=\"1135\" height=\"537\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24.png 1135w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24-300x142.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24-1024x484.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24-768x363.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-25-24-500x237.png 500w\" sizes=\"auto, (max-width: 1135px) 100vw, 1135px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u4fdd\u5b58\u540e\uff0c\u5728\u65b0\u6dfb\u52a0\u7684\u7ec4\u5217\u8868\u53f3\u5219\uff0c\u70b9\u51fb\u7f16\u8f91\u56fe\u6807\uff0c\u7ed9\u7ec4\u8d4b\u4e88IPsec xauth Dialin\uff08\u62e8\u53f7\u8ba4\u8bc1\uff09\u6743\u9650\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8783\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19.png\" alt=\"\" width=\"1139\" height=\"754\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19-300x199.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19-1024x678.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19-768x508.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-26-19-453x300.png 453w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u7136\u540e\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406\uff0c\u7528\u6237\u9009\u9879\u5361\uff0c\u6dfb\u52a0\u4e00\u4e2a\u8fdc\u7a0b\u8bbf\u95ee\u7528\u6237\u3002\u5e76\u5c06\u8be5\u7528\u6237\u6dfb\u52a0\u81f3\u521a\u624d\u65b0\u5efa\u7684IPSEC_VPN\u7ec4\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8784\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18.png\" alt=\"\" width=\"1140\" height=\"780\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18.png 1140w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18-300x205.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18-1024x701.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18-768x525.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-29-18-438x300.png 438w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u8f93\u5165IPsec\u9884\u5171\u4eab\u5bc6\u94a5\uff0c\u4e14\u5fc5\u987b\u4e0e\u540e\u9762\u9636\u6bb51\u4e2d\u8bbe\u7f6e\u7684IPsec\u9884\u5171\u4eab\u5bc6\u94a5\u76f8\u540c\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8788\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14.png\" alt=\"\" width=\"1140\" height=\"218\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14.png 1140w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14-300x57.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14-1024x196.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14-768x147.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-47-14-500x96.png 500w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u79fb\u52a8\u5ba2\u6237\u7aef\u914d\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230VPN&gt;IPsec&gt;\u79fb\u52a8\u5ba2\u6237\u7aef\u9009\u9879\u5361\uff0c\u8bbe\u7f6e\u4ee5\u4e0b\u53c2\u6570\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u542f\u7528 IPsec \u79fb\u52a8\u5ba2\u6237\u7aef\u652f\u6301<\/li>\n<li>\u7528\u6237\u8ba4\u8bc1\uff1a\u672c\u5730\u6570\u636e\u5e93<\/li>\n<li>\u9009\u4e2d\u7ec4\u8ba4\u8bc1\u3002\u6765\u6e90\uff1aIPsec_VPN<\/li>\n<li>\u9009\u4e2d\u5411\u5ba2\u6237\u7aef\u63d0\u4f9b\u865a\u62dfIP\u5730\u5740\uff0c\u6ce8\u610f\uff1a\u8fd9\u91cc\u7684\u5730\u5740\u4e0d\u80fd\u662f\u9632\u706b\u5899\u4e0a\u4efb\u4f55\u5df2\u8bbe\u7f6e\u7684\u5730\u5740\u3002<\/li>\n<li data-id=\"l20de63f-qJT9V3aH\">\u9009\u4e2dDNS\u670d\u52a1\u5668\uff0c\u586b\u4e0a\u4e00\u81f3\u4e24\u4e2a\u516c\u5171DNS\u670d\u52a1\u5668\u3002<span style=\"color: #ff0000;\">\u6ce8\u610f\uff1a\u8fd9\u91cc\u586b\u5165DNS\uff0c\u5e76\u5728\u9636\u6bb52\u4e2d\u5c06\u7f51\u7edc\u8bbe\u7f6e\u4e3a0.0.0.0\/0\uff0c\u5f53\u5ba2\u6237\u7aef\u8fde\u63a5VPN\u540e\uff0c\u5c06\u9ed8\u8ba4\u901a\u8fc7pfSense\u9632\u706b\u5899\u8fde\u63a5\u5916\u90e8\u7f51\u7edc\u3002<\/span><\/li>\n<li>\u5176\u4ed6\u9009\u9879\u4fdd\u7559\u9ed8\u8ba4\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8785\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25.png\" alt=\"\" width=\"1140\" height=\"769\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25.png 1140w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25-300x202.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25-1024x691.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25-768x518.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-31-25-445x300.png 445w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8860\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26.png\" alt=\"\" width=\"1107\" height=\"174\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26.png 1107w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26-300x47.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26-1024x161.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26-768x121.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-05-04-15-11-26-500x79.png 500w\" sizes=\"auto, (max-width: 1107px) 100vw, 1107px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">IPSec\u9636\u6bb51\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u4fdd\u5b58\u79fb\u52a8\u5ba2\u6237\u7aef\u914d\u7f6e\u540e\uff0c\u4f1a\u63d0\u793a\u521b\u5efa\u9636\u6bb51\u914d\u7f6e\u3002\u9636\u6bb51\u8bbe\u7f6e\u53c2\u6570\u5982\u4e0b\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5bc6\u94a5\u4ea4\u6362\u7248\u672c\u9009auto\u6216IKEv1<\/li>\n<li>\u8ba4\u8bc1\u65b9\u6cd5\uff1aMutual PSK + Xauth<\/li>\n<li>\u672c\u5730ID\u7c7b\u578b\uff1a\u6211\u7684IP\u5730\u5740<\/li>\n<li>\u8fdc\u7a0bID\u7c7b\u578b\uff1aany\u3002\u6ce8\u610f\u4e0d\u8981\u9009\u8fdc\u7a0bIP\u5730\u5740\uff0c\u7ecf\u6d4b\u8bd5\u4f1a\u65e0\u6cd5\u8fde\u63a5\u3002\u53ef\u4ee5\u9009 ASN.1\u4e13\u6709\u540d\u79f0\u6216Automatic based on content\u3002<\/li>\n<li>\u8f93\u5165\u6216\u751f\u6210\u9884\u5171\u4eab\u5bc6\u94a5\uff0c\u987b\u4e0e\u524d\u9762\u6dfb\u52a0\u7684\u8fdc\u7a0b\u8bbf\u95ee\u7528\u6237\u7684IPsec\u9884\u5171\u4eab\u5bc6\u94a5\u76f8\u540c\u3002<\/li>\n<li>\u751f\u5b58\u65f6\u95f4\uff1a86400<\/li>\n<li>NAT-T\uff1aAuto<\/li>\n<li>\u5176\u4ed6\u9009\u9879\u53c2\u7167\u4e0b\u56fe\u8fdb\u884c\u8bbe\u7f6e<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8786\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57.png\" alt=\"\" width=\"1141\" height=\"973\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57.png 1141w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57-300x256.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57-1024x873.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57-768x655.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-38-57-352x300.png 352w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/a> <a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8787\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28.png\" alt=\"\" width=\"1138\" height=\"937\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28.png 1138w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28-300x247.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28-1024x843.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28-768x632.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-39-28-364x300.png 364w\" sizes=\"auto, (max-width: 1138px) 100vw, 1138px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">IPSec\u9636\u6bb52\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u4fdd\u5b58IPSec\u9636\u6bb51\u8bbe\u7f6e\u540e\uff0c\u6dfb\u52a0\u9636\u6bb52\u6761\u76ee\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u6a21\u5f0f\u9009IPv4\u96a7\u9053<\/li>\n<li>\u672c\u5730\u7f51\u7edc\uff1a<span style=\"color: #ff0000;\">\u8bbe\u7f6e\u4e3a0.0.0.0\/0\u7f51\u7edc\uff0c\u4ece\u9632\u706b\u5899\u8fdb\u884c\u51fa\u7ad9\u3002\u8bbe\u7f6e\u4e3aLAN\u7f51\u7edc\uff0c\u5219\u4ece\u672c\u5730\u51fa\u7ad9\u3002<\/span><\/li>\n<li>\u5bc6\u94a5\u4ea4\u6362\u534f\u8bae\uff1aESP<\/li>\n<li>\u52a0\u5bc6\u7b97\u6cd5AES256\\SHA1<\/li>\n<li>PFS\u5bc6\u94a5\u7ec4\uff1a\u5173<\/li>\n<li>\u751f\u5b58\u65f6\u95f4\uff1a28800<\/li>\n<li>\u5176\u4ed6\u9009\u9879\u53c2\u7167\u4e0b\u56fe\u8fdb\u884c\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8789\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53.png\" alt=\"\" width=\"1139\" height=\"1170\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53-292x300.png 292w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53-997x1024.png 997w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-49-53-768x789.png 768w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a> <a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8790\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13.png\" alt=\"\" width=\"1136\" height=\"291\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13.png 1136w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13-300x77.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13-1024x262.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13-768x197.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-50-13-500x128.png 500w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u9632\u706b\u5899\u89c4\u5219\u914d\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u8f6c\u5230\u9632\u706b\u5899&gt;\u89c4\u5219\u7b56\u7565\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u9632\u706b\u5899\u89c4\u5219<\/p>\n<p style=\"text-align: justify;\">\u5728IPsec\u9009\u9879\u5361\u4e0a\uff0c\u6dfb\u52a0\u4e00\u6761any to any\u89c4\u5219\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8791\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20.png\" alt=\"\" width=\"1139\" height=\"166\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20-300x44.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20-1024x149.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20-768x112.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-20-500x73.png 500w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5728WAN\u9009\u9879\u5361\u4e0a\uff0c\u653e\u884cUDP500\u548c4500\u7aef\u53e3\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8792\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54.png\" alt=\"\" width=\"1135\" height=\"283\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54.png 1135w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54-300x75.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54-1024x255.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54-768x191.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-10-53-54-500x125.png 500w\" sizes=\"auto, (max-width: 1135px) 100vw, 1135px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u81f3\u6b64\uff0cpfSense\u4e0a\u7684IPsec VPN\u914d\u7f6e\u5b8c\u6210\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u79fb\u52a8\u7aef\u8bbe\u7f6e<\/h1>\n<p style=\"text-align: justify;\">\u4ee5\u4e0b\u4e3aIOS\u4e0a\u7684\u914d\u7f6e\u3002\u8f6c\u5230\u8bbe\u7f6e&gt;VPN\uff0c\u70b9\u51fb\u4e0b\u9762\u7684\u6dfb\u52a0VPN\u914d\u7f6e\uff0c\u8f93\u5165\u5404\u9879VPN\u53c2\u6570\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u670d\u52a1\u5668\uff1apfSense\u9632\u706b\u5899\u7684\u516c\u7f51IP<\/li>\n<li>\u8d26\u6237\u5bc6\u7801\uff1a\u6dfb\u52a0\u7684\u8fdc\u7a0b\u7528\u6237\u548c\u5bc6\u7801<\/li>\n<li>\u5bc6\u94a5\uff1a\u5728\u9636\u6bb51\u4e2d\u8bbe\u7f6e\u7684\u9884\u5171\u4eab\u5bc6\u94a5<\/li>\n<li>\u5176\u4ed6\u9009\u9879\u7559\u7a7a<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8793\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347.png\" alt=\"\" width=\"1125\" height=\"2436\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347.png 1125w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347-139x300.png 139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347-473x1024.png 473w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347-768x1663.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347-709x1536.png 709w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_0347-946x2048.png 946w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u4fdd\u5b58\u540e\uff0c\u5728\u72b6\u6001\u7684\u53f3\u5219\uff0c\u6ed1\u52a8\u8fde\u63a5\u6309\u94ae\u5373\u53ef\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8796\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484.png\" alt=\"\" width=\"1097\" height=\"1084\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484.png 1097w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484-300x296.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484-1024x1012.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484-768x759.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/IMG_03484-304x300.png 304w\" sizes=\"auto, (max-width: 1097px) 100vw, 1097px\" \/><\/a><\/p>\n<h1 style=\"text-align: justify;\">\u8fde\u63a5\u6d4b\u8bd5<\/h1>\n<p style=\"text-align: justify;\">\u8f6c\u5230\u72b6\u6001&gt;IPsec\uff0c\u53ef\u4ee5\u67e5\u770bVPN\u7684\u8fde\u63a5\u72b6\u6001\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8797\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39.png\" alt=\"\" width=\"1136\" height=\"418\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39.png 1136w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39-300x110.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39-1024x377.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39-768x283.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2022\/04\/2022-04-29-11-01-39-500x184.png 500w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<p data-id=\"p8763f2b-p0nGKMb3\">\u5728\u624b\u673a\u7aef\u8f93\u5165\u9632\u706b\u5899\u7684LAN\u8bbf\u95ee\u5730\u5740\uff0c\u68c0\u67e5\u662f\u5426\u80fd\u6b63\u5e38\u8fdc\u7a0b\u8bbf\u95eepfSense\u9632\u706b\u5899\u3002<\/p>\n<p>\u5b89\u5353\u624b\u673a\u7684\u914d\u7f6e\uff0c\u5927\u540c\u5c0f\u5f02\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fdc\u7a0b\u7ba1\u7406pfSense\u9632\u706b\u5899\u7684\u65b9\u6cd5\u975e\u5e38\u591a\uff0c\u6700\u65b9\u4fbf\u7684\u662f\u5f00\u542fWAN\u63a5\u53e3\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u4f46 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=8781\">\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":[166],"class_list":["post-8781","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-ipsec"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8781","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=8781"}],"version-history":[{"count":1,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8781\/revisions"}],"predecessor-version":[{"id":12677,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/8781\/revisions\/12677"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}