{"id":10478,"date":"2020-07-22T15:48:39","date_gmt":"2020-07-22T07:48:39","guid":{"rendered":"https:\/\/www.microfusion.cloud\/hk\/?p=10478"},"modified":"2025-01-13T14:55:27","modified_gmt":"2025-01-13T06:55:27","slug":"cloud-vpn-2","status":"publish","type":"post","link":"https:\/\/www.microfusion.cloud\/hk\/2020\/07\/22\/cloud-vpn-2\/","title":{"rendered":"Cloud VPN\u5efa\u7f6e-\u4ee5GCE\u4e32\u63a5Azure Active Directory\u70ba\u4f8b(2)"},"content":{"rendered":"\n<p style=\"text-align: left;\">\u5ef6\u7e8c<a href=\"https:\/\/www.microfusion.cloud\/hk\/2020\/07\/16\/cloud-vpn-1\/\">\u4e0a\u7bc7 <\/a><a href=\"https:\/\/www.microfusion.cloud\/hk\/2020\/07\/16\/cloud-vpn-1\/\">Cloud VPN \u5efa\u7f6e\u65b9\u5f0f<\/a>\uff0c\u6211\u5011\u4e86\u89e3\u5230\u5982\u4f55\u5efa\u7acb GCP VPC \u53ca Google Compute Engine (GCE)\uff0c\u672c\u7bc7\u67b6\u69cb\u5e2b\u5c07\u91dd\u5c0d GCP VPN Gateway\u3001Azure \u76f8\u95dc\u670d\u52d9\uff0c\u53ca\u78ba\u8a8d GCP VM \u7db2\u8def\u74b0\u5883\u8207 Azure \u7db2\u8def\u74b0\u5883\u53ef\u4ee5\u76f8\u901a\u70ba\u91cd\u9ede\uff0c\u4e00\u6b65\u6b65\u5e36\u60a8\u64cd\u4f5c\u61c9\u7528\u5594!<\/p>\r\n<p>\n\n<\/p>\r\n<p style=\"text-align: left;\">Step.1 \u5efa\u7acb\u597dVM\u5f8c\uff0c\u518d\u4f86\u5efa\u7acbGCP VPN\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_8-1.png\" alt=\"GCP VM_8\" width=\"700\" height=\"763\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_9-1.png\" alt=\"\" width=\"700\" height=\"200\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_10-1.png\" alt=\"GCP VM_10\" width=\"700\" height=\"530\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.2 \u9078\u64c7\u7b26\u5408\u60a8\u9700\u6c42\u7684VPN\u985e\u578b\u3002<\/p>\r\n<p>\u7b2c\u4e00\u500b\u95dc\u5361\u6211\u5011\u5c31\u9047\u5230\u4e86\u8a72\u600e\u9ebc\u9078\u64c7\u9069\u5408\u6211\u5011\u7684VPN\u985e\u578b\uff1f\u662f\u9ad8\u53ef\u7528\u6027\uff08HA\uff09VPN\uff0c\u9084\u662f\u50b3\u7d71\u578bVPN\u5462\uff1f<\/p>\r\n<p>\u5feb\u901f\u7684\u4ecb\u7d39\u4e00\u4e0b\u9019\u5169\u7a2e\u4e0d\u540c\u7684VPN\u985e\u578b\uff1a<br \/>1) \u9ad8\u53ef\u7528\u6027\uff08HA\uff09VPN\uff1a<br \/>\u9ad8\u53ef\u7528\u6027VPN \u662f\u4e00\u7a2e\u9ad8\u53ef\u7528\u6027(HA) Cloud VPN \u89e3\u6c7a\u65b9\u6848\uff0c\u53ef\u8b93\u60a8\u5728\u55ae\u500b\u5340\u57df\u4e2d\u901a\u904eIPsec VPN \u9023\u63a5\u60a8\u7684\u672c\u5730 Virtual Private Cloud \u7db2\u7d61\u3002\u9ad8\u53ef\u7528\u6027 VPN \u63d0\u4f9b\u53ef\u7528\u6027\u670d\u52d9\u905499.99% \u7684\u670d\u52d9\u7b49\u7d1a\u5354\u8b70(SLA)\u3002\u5efa\u7acb\u9ad8\u53ef\u7528\u6027 VPN Gateway \u6642\uff0cGoogle Cloud \u6703\u81ea\u52d5\u9078\u64c7\u5169\u500b\u5916\u90e8IP \u5730\u5740\uff0c\u5169\u500b\u56fa\u5b9a\u7684\u63a5\u53e3\u5404\u5c0d\u61c9\u4e00\u500b\u5730\u5740\u3002<\/p>\r\n<p>\u53e6\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5c07\u9ad8\u53ef\u7528\u6027 VPN Gateway \u914d\u7f6e\u70ba\u4e00\u500b\u53ef\u4f7f\u7528\u7684\u4ecb\u9762\u548c\u4e00\u500b\u5c0d\u5916\u516c\u958b IP \u5730\u5740\uff1b\u4f46\u662f\uff0c\u6b64\u914d\u7f6e\u4e0d\u6703\u63d0\u4f9b\u670d\u52d9\u53ef\u7528\u6027\u905499.99\uff05\u7684SLA\u3002\u7576\u7136\u4f7f\u7528\u7684\u60c5\u5883\u4e5f\u53ef\u4ee5\u4e00\u500b\u7576\u4e3b\u8981\u7684\u7dda\u8def\uff0c\u53e6\u4e00\u500b\u7576\u4f5c\u5099\u7528\u7684\u7dda\u8def\uff0c\u4ee5\u9632\u670d\u52d9\u4e2d\u65b7\u3002<\/p>\r\n<p>2) \u50b3\u7d71\u578b VPN\uff1a<br \/>\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u50b3\u7d71VPN Gateway \u5177\u6709\u55ae\u500b\u63a5\u53e3\u3001\u55ae\u500b\u5916\u90e8IP\u5730\u5740\uff0c\u751a\u81f3 VPN \u662f\u900f\u904e IPsec \u5efa\u7acb\u4e00\u689d\u52a0\u5bc6\u904e\u5f8c\u5b89\u5168\u7684\u7db2\u8def\u901a\u9053\uff0c\u76f8\u8f03\u9ad8\u53ef\u7528\u6027\uff08HA\uff09VPN\uff0c\u50b3\u7d71\u578b\u7684 VPN \u67b6\u69cb\u548c\u8a2d\u5b9a\u4f86\u8aaa\u8f03\u70ba\u7c21\u55ae\uff0c\u4e5f\u662f\u521d\u5b78\u8005\u975e\u5e38\u5bb9\u6613\u4e0a\u624b\u7684\u3002<\/p>\r\n<p>\u800c\u5728\u9019\u88e1\u6211\u5011\u4f7f\u7528\u50b3\u7d71\u578b VPN \u793a\u7bc4\uff0c\u8f38\u5165VPN Gateway \u5167\u5bb9\u5f8c\uff0c\u5f97\u9700\u8981\u914d\u7f6e\u5c0d\u5916\u670d\u52d9\u7684\u4e00\u500b\u56fa\u5b9a\u5916\u90e8IP\u3002\u800c\u5728\u9023\u7dda\u7684\u901a\u9053\u5730\u65b9\uff0c\u5247\u662f\u9700\u8981\u60a8\u5c07\u53e6\u4e00\u7aef\u7684\u7db2\u8def\u74b0\u5883\u8cc7\u8a0a\u4e92\u76f8\u586b\u5165\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_11-1.png\" alt=\"GCP VM_11\" width=\"700\" height=\"513\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.3 \u586b\u5165 Azure VPN Gateway \u670d\u52d9\u76f8\u95dc\u8cc7\u8a0a\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_12-1.png\" alt=\"GCP VM_12\" width=\"700\" height=\"987\" \/><\/p>\r\n<p>\u203b \u9060\u7aef\u5c0d\u7b49\u6236\u9023IP\u4f4d\u5740\uff1a\u8f38\u5165Azure VPN Gateway\u7684\u5c0d\u5916IP<br \/>\u203b IKE\u9810\u5148\u5171\u7528\u91d1\u9470\uff1aGCP\u7522\u751f\u7684KEY\u9700\u63d0\u4f9b\u7d66Azure VPN \u9023\u7dda<br \/>\u203b \u5c0e\u5411\u9078\u9805\uff1a\u60a8\u53ef\u4ee5\u9078\u64c7\u201c\u4f9d\u64da\u8def\u5f91&#8221;\u6216\u201c\u4f9d\u7167\u653f\u7b56\u201d\uff0c\u5169\u8005\u5dee\u7570\u5dee\u5225\u65bc\u4f9d\u7167\u653f\u7b56\u53ef\u4ee5\u6307\u5b9a\u672c\u5730\u7aef\u7684IP\u7bc4\u570d\u7b26\u5408\u689d\u4ef6\u624d\u57f7\u884c\u3002<br \/>\u203b \u9060\u7aef\u7db2\u8defIP\u7bc4\u570d\uff1a\u8f38\u5165 Azure VPN Gateway \u6240\u4f7f\u7528\u7684IP\u7bc4\u570d<br \/>\u203b \u672c\u6a5fIP\u7bc4\u570d\uff1a\u8f38\u5165GCP \u672c\u6a5f\u7aef\u7684 IP\u7bc4\u570d<\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.4 \u70ba\u4e86\u5feb\u901f\u4f48\u5efa\u4e00\u500b Domain Services \u4f86\u793a\u7bc4 \uff0c\u56e0\u6b64\u6211\u5011\u76f4\u63a5\u4f7f\u7528 Azure Domain Services\uff0c\u4e26\u4e14\u4e5f\u5df2\u7d93\u6e96\u5099\u597d\u4e86Azure Active Directory\uff0c\u5176\u4e2d\u4e5f\u5df2\u5efa\u7acb\u4e86\u5e7e\u7d44\u5e33\u865f\u3002<\/p>\r\n<ul>\r\n<li>Domain Name\uff1amicrofusion.tw<\/li>\r\n<li>IP address on virtual network\uff1a10.1.1.4, 10.1.1.5<\/li>\r\n<\/ul>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_13-1.png\" alt=\"GCP VM_13\" width=\"700\" height=\"575\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.5 Azure \u74b0\u5883\u6e96\u5099\u597d\u5f8c\uff0c\u5efa\u7acb Azure VPN Gateway\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_14-1.png\" alt=\"GCP VM_14\" width=\"700\" height=\"665\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_15-1.png\" alt=\"GCP VM_15\" width=\"700\" height=\"633\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.6 \u5efa\u7acb\u597d\u5169\u908a\u7684 VPN Gateway \u5f8c\uff0c\u4e26\u4e14\u4e5f\u5c07\u5169\u908a\u7684IP\u548c\u7db2\u6bb5\u90fd\u6709\u5c0d\u61c9\u597d\u5f8c\uff0cGCP\u5c31\u6703\u81ea\u52d5\u7684\u5617\u8a66\u5efa\u7acb\u6b64\u901a\u9053\u3002GCP VPN Gateway Tunel \u986f\u793a\u5df2\u5efa\u7acb\uff0c\u6709\u51fa\u73fe\u7da0\u8272\u6253\u52fe\u8868\u793a\u6b64\u901a\u9053\u70ba\u6b63\u5728\u9023\u7dda\u4e2d\uff0c\u5982\u6c92\u6709\u6703\u986f\u793a\u7d05\u8272\u9a5a\u5606\u865f\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_16-1-1024x277.png\" alt=\"GCP VM_16\" width=\"700\" height=\"189\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_17-1-1024x237.png\" alt=\"GCP VM_17\" width=\"700\" height=\"162\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: center;\">Step.7 \u70ba\u4e86\u78ba\u8a8d\u6b64VPN \u901a\u9053\u662f\u6709\u901a\uff0c\u6211\u5011\u5728 GCP \u74b0\u5883\u8207 Azure \u74b0\u5883\u5404\u5efa\u7acb\u4e86\u4e00\u53f0VM\uff0c\u4e26\u4e14\u5617\u8a66\u5c07\u5169\u53f0VM\u4e92Ping\u3002\u56de\u5230 Google Compute Engine VM\uff0c\u5728 Windows \u4f5c\u696d\u7cfb\u7d71\u4e2d\u6253\u958b \u201cNetwork and Sharing Center\u201d\uff0c\u9ede\u9078 \u201cEthernet\u201d \u7db2\u5361\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_18-1-1024x578.png\" alt=\"GCP VM_18\" width=\"700\" height=\"395\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_19-1.png\" alt=\"GCP VM_19\" width=\"538\" height=\"669\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_20-1.png\" alt=\"GCP VM_20\" width=\"542\" height=\"695\" \/><\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_21-1.png\" alt=\"GCP VM_21\" width=\"596\" height=\"677\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.8 \u9019\u6642\uff0c\u6211\u5011\u53ef\u4ee5\u5148\u5617\u8a66\u89e3\u6790Azure AD Domain Services \u7684\u7db2\u57df\uff0c\u89e3\u6790\u7684\u5230\uff0c\u8868\u793a\u9019\u53f0 VM \u8207 Azure AD Domain Services \u5728\u540c\u4e00\u500b\u7db2\u8def\u74b0\u5883\u4e86\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_22-1-1024x340.png\" alt=\"\" width=\"700\" height=\"233\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: left;\">Step.9 \u53e6\u5916\uff0c\u6211\u5011\u4e5f\u5617\u8a66 Ping \u5728 Azure \u74b0\u5883\u7684 VM \uff0c\u800c Azure VM \u7684\u5167\u7db2 IP \u70ba 10.1.3.5\u3002<\/p>\r\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/07\/GCP-VM_23-1-1024x1017.png\" alt=\"\" width=\"700\" height=\"695\" \/><\/p>\r\n<p style=\"text-align: center;\">\u7b2c\u4e8c\u968e\u6bb5\u7684\u5efa\u7f6e\u6b65\u9a5f\u5230\u9019\u908a\u5c31\u544a\u4e00\u6bb5\u843d\u5566!\u00a0<br \/>\u82e5\u60f3\u4e86\u89e3\u5b8c\u6574\u61c9\u7528\uff0c\u8acb\u6301\u7e8c\u95dc\u6ce8<a href=\"https:\/\/www.microfusion.cloud\/hk\/architect-gcp\/\">\u5b8f\u5ead\u67b6\u69cb\u5e2b\u5c08\u6b04<\/a>\uff0c\u82e5\u6709\u4efb\u4f55 \u96f2\u7aef\u9700\u6c42\uff0c\u4e5f\u6b61\u8fce\u96a8\u6642\u8207\u6211\u5011\u806f\u7e6b\u5594!<\/p>\r\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.microfusion.cloud\/hk\/contact\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mf-web-plugin-hk.storage.googleapis.com\/wp-content\/uploads\/2020\/02\/%E8%81%AF%E7%B5%A1%E6%88%91%E5%80%91.png\" alt=\"\" width=\"185\" height=\"103\" \/><\/a><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u5ef6\u7e8c\u4e0a\u7bc7 Cloud VPN \u5efa\u7f6e\u65b9\u5f0f\uff0c\u6211\u5011\u4e86\u89e3\u5230\u5982\u4f55\u5efa\u7acb GCP VPC \u53ca Google Compute Engine (GCE)\uff0c\u672c\u7bc7\u67b6\u69cb\u5e2b\u5c07\u91dd\u5c0d GCP VPN Gateway\u3001Azure \u76f8\u95dc\u670d\u52d9\uff0c\u53ca\u78ba\u8a8d GCP VM \u7db2\u8def\u74b0\u5883\u8207 Azure \u7db2\u8def\u74b0\u5883\u53ef\u4ee5\u76f8\u901a\u70ba\u91cd\u9ede\uff0c\u4e00\u6b65\u6b65\u5e36\u60a8\u64cd\u4f5c\u61c9\u7528\u5594!<\/p>\n","protected":false},"author":3,"featured_media":7826,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[173],"tags":[172],"class_list":["post-10478","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical_gcp","tag-gcp"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/posts\/10478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/comments?post=10478"}],"version-history":[{"count":12,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/posts\/10478\/revisions"}],"predecessor-version":[{"id":20578,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/posts\/10478\/revisions\/20578"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/media\/7826"}],"wp:attachment":[{"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/media?parent=10478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/categories?post=10478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.microfusion.cloud\/hk\/wp-json\/wp\/v2\/tags?post=10478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}