{"id":1280,"date":"2019-06-08T11:36:36","date_gmt":"2019-06-08T03:36:36","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1280"},"modified":"2020-08-24T21:54:05","modified_gmt":"2020-08-24T13:54:05","slug":"edgerouter-x%e4%b8%8epfsense%e5%bb%ba%e7%ab%8bipsec%e8%bf%9e%e6%8e%a5","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1280","title":{"rendered":"EdgeRouter X\u4e0epfSense\u5efa\u7acbIPsec\u8fde\u63a5"},"content":{"rendered":"<p style=\"text-align: justify;\">\u7531\u4e8e\u5bb6\u91cc\u5f31\u7535\u7bb1\u6bd4\u8f83\u5c0f\uff0c\u4e70\u4e86\u4e00\u4e2a<a href=\"https:\/\/www.ui.com.cn\/edgemax\/edgerouter-x\/\">EdgeRouter X<\/a>\u505a\u4e3a\u63a5\u5165\u8def\u7531\u3002\u521d\u6b21\u63a5\u89e6ubnt\u7684\u8bbe\u5907\uff0c\u5bf9\u7cfb\u7edf\u4e0d\u719f\u6089\uff0c\u6ce1\u4e86\u4e00\u4e0a\u5348\u7684\u8bba\u575b\uff0c\u901a\u8fc7\u5b89\u88c5\u5411\u5bfc\u6b63\u786e\u8bbe\u7f6e\u4e86\u53cc\u7ebf\u8d1f\u8f7d\uff0c\u53c2\u7167<a href=\"https:\/\/github.com\/izerosoul\/shadowsocks_erx\">\u6559\u7a0b<\/a>\u641e\u5b9a\u4e86\u79d1\u5b66\u4e0a\u7f51\u3002\u7136\u540e\u5c31\u5f00\u59cb\u7814\u7a76\u600e\u4e48\u4e0epfSense\u8bbe\u5907\u5efa\u7acbVPN\u8fde\u63a5\uff0c\u4e2d\u95f4\u8d70\u4e86\u4e00\u70b9\u5f2f\u8def\uff0c\u597d\u5728\u6700\u7ec8\u4e5f\u8fde\u63a5\u6210\u529f\uff0c\u4e0b\u9762\u8bb0\u5f55\u4e00\u4e0b\u6211\u7684\u8bbe\u7f6e\u8fc7\u7a0b\u3002<\/p>\n<h1>\u4e00\u3001ERX\u8bbe\u7f6e<\/h1>\n<p>1\u3001\u901a\u8fc7\u6d4f\u89c8\u5668\u8fdb\u5165ERX\u7684WEB\u8bbe\u7f6e\u754c\u9762\uff0c\u70b9\u51fb\u4e3b\u754c\u9762\u7684VPN\uff0c\u70b9\u51fbIPsec\u7ad9\u70b9\u5230\u7ad9\u70b9\u9009\u9879\u5361\uff08\u6211\u7684\u8fdb\u884c\u4e86\u754c\u9762\u6c49\u5316\uff0c\u82f1\u6587\u5bf9\u5e94\u53c2\u7167\uff09\u3002<\/p>\n<p>2\u3001\u9009\u4e2dAutomatically open firewall and exclude from NAT\uff08\u81ea\u52a8\u6253\u5f00\u9632\u706b\u5899\u5e76\u4eceNAT\u4e2d\u6392\u9664\uff09\u3002<\/p>\n<p>3\u3001\u6309\u4e0b\u56fe\u8fdb\u884c\u8bbe\u7f6e\uff0cPeer\u586b\u8fdc\u7a0b\u4e3b\u673a\u7684\u516c\u7f51IP\u6216\u4e3b\u673a\u540d\uff0cLocal IP\u586b\u672c\u5730\u516c\u7f51IP\uff0c\u5982\u679c\u662f\u62e8\u53f7\u4e0a\u7f51\u7684\u4e5f\u53ef\u4ee5\u586b0.0.0.0\u3002\u5176\u4ed6\u5b57\u6bb5\u6839\u636e\u81ea\u8eab\u7f51\u7edc\u60c5\u51b5\u8fdb\u884c\u8bbe\u7f6e\u3002\u8bbe\u7f6e\u5b8c\u6210\u540e\u70b9\u5e94\u7528\uff01<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/InkedERX_LI.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1282\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/InkedERX_LI.jpg\" alt=\"\" width=\"698\" height=\"708\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/InkedERX_LI.jpg 698w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/InkedERX_LI-296x300.jpg 296w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/a><\/p>\n<h1>\u4e8c\u3001pfSense\u8bbe\u7f6e<\/h1>\n<p>\u901a\u8fc7\u6d4f\u89c8\u5668\u8fdb\u5165pfSense\u7684WEB\u8bbe\u7f6e\u754c\u9762\uff0c\u8fdb\u5165VPN&gt;IPsec\u83dc\u5355\u3002\u5728\u96a7\u9053\u9009\u9879\u5361\u4e0a\u5206\u522b\u6dfb\u52a0\u9636\u6bb51\u548c\u9636\u6bb52\uff0c\u53c2\u6570\u4e0eERX\u7aef\u4fdd\u6301\u4e00\u81f4\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1283\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI.jpg\" alt=\"\" width=\"1154\" height=\"1724\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI.jpg 1154w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI-201x300.jpg 201w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI-768x1147.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec1_LI-685x1024.jpg 685w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a> <a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1284\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI.jpg\" alt=\"\" width=\"1155\" height=\"1458\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI.jpg 1155w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI-238x300.jpg 238w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI-768x969.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/Inkedipsec2_LI-811x1024.jpg 811w\" sizes=\"auto, (max-width: 1155px) 100vw, 1155px\" \/><\/a><\/p>\n<p>\u5728\u9636\u6bb52\u7684\u8bbe\u7f6e\u4e2d\uff0c\u8981\u6ce8\u610fPFS\u5bc6\u94a5\u7ec4\u7684\u8bbe\u7f6e\uff0c\u4e0e\u9636\u6bb51\u7684DH\u7ec4\u76f8\u540c\u3002\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0c\u70b9\u5e94\u7528\u66f4\u6539\u3002<\/p>\n<h1>\u4e09\u3001\u6d4b\u8bd5\u8fde\u63a5<\/h1>\n<p>\u6700\u7b80\u5355\u7684\u6d4b\u8bd5\u8fde\u63a5\u7684\u65b9\u6cd5\u662fping\u8fdc\u7a0b\u5185\u7f51\u7f51\u5173\uff0c\u6211\u8fd9\u91cc\u662f192.168.139.1\uff0c\u6d4b\u8bd5\u8fde\u63a5\u6b63\u5e38\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1286\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345.jpg\" alt=\"\" width=\"920\" height=\"328\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345.jpg 920w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345-300x107.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345-768x274.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/06\/345345-500x178.jpg 500w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/a><\/p>\n<p>\u81f3\u6b64\uff0c\u8bbe\u7f6e\u5b8c\u6210\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8e\u5bb6\u91cc\u5f31\u7535\u7bb1\u6bd4\u8f83\u5c0f\uff0c\u4e70\u4e86\u4e00\u4e2aEdgeRouter X\u505a\u4e3a\u63a5\u5165\u8def\u7531\u3002\u521d\u6b21\u63a5\u89e6ub &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1280\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[155],"class_list":["post-1280","post","type-post","status-publish","format-standard","hentry","category-er-x","tag-er-x"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1280","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=1280"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1280\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}