{"id":54147,"date":"2024-10-09T17:11:22","date_gmt":"2024-10-09T09:11:22","guid":{"rendered":"https:\/\/server.hk\/cnblog\/54147\/"},"modified":"2024-10-09T17:11:22","modified_gmt":"2024-10-09T09:11:22","slug":"windows-vpn-%e4%bc%ba%e6%9c%8d%e5%99%a8%e9%85%8d%e7%bd%ae%e5%9c%96%e6%96%87%e6%95%99%e7%a8%8b%e8%b6%85%e8%a9%b3%e7%b4%b0%e7%89%88","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/54147\/","title":{"rendered":"Windows VPN \u4f3a\u670d\u5668\u914d\u7f6e\u5716\u6587\u6559\u7a0b\u8d85\u8a73\u7d30\u7248"},"content":{"rendered":"<h1 id=\"windows-vpn-%e4%bc%ba%e6%9c%8d%e5%99%a8%e9%85%8d%e7%bd%ae%e5%9c%96%e6%96%87%e6%95%99%e7%a8%8b%e8%b6%85%e8%a9%b3%e7%b4%b0%e7%89%88-OaqplWJcDt\">Windows VPN \u4f3a\u670d\u5668\u914d\u7f6e\u5716\u6587\u6559\u7a0b\u8d85\u8a73\u7d30\u7248<\/h1>\n<p>\u5728\u7576\u4eca\u6578\u4f4d\u5316\u7684\u6642\u4ee3\uff0c\u865b\u64ec\u79c1\u4eba\u7db2\u8def\uff08VPN\uff09\u5df2\u6210\u70ba\u4fdd\u8b77\u500b\u4eba\u96b1\u79c1\u548c\u5b89\u5168\u7684\u91cd\u8981\u5de5\u5177\u3002\u7279\u5225\u662f\u5c0d\u65bc\u9700\u8981\u9060\u7a0b\u8a2a\u554f\u516c\u53f8\u5167\u90e8\u8cc7\u6e90\u7684\u7528\u6236\uff0c\u914d\u7f6e\u4e00\u500b Windows VPN \u4f3a\u670d\u5668\u662f\u975e\u5e38\u5fc5\u8981\u7684\u3002\u672c\u6587\u5c07\u63d0\u4f9b\u4e00\u500b\u8a73\u7d30\u7684 Windows VPN \u4f3a\u670d\u5668\u914d\u7f6e\u6559\u7a0b\uff0c\u5e6b\u52a9\u60a8\u8f15\u9b06\u8a2d\u7f6e\u81ea\u5df1\u7684 VPN \u4f3a\u670d\u5668\u3002<\/p>\n<h2 id=\"%e4%b8%80%e3%80%81%e6%ba%96%e5%82%99%e5%b7%a5%e4%bd%9c-OaqplWJcDt\">\u4e00\u3001\u6e96\u5099\u5de5\u4f5c<\/h2>\n<p>\u5728\u958b\u59cb\u914d\u7f6e\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u78ba\u4fdd\u4ee5\u4e0b\u5e7e\u9ede\uff1a<\/p>\n<ul>\n<li>\u64c1\u6709\u4e00\u53f0\u904b\u884c Windows Server \u7684\u4f3a\u670d\u5668\u3002<\/li>\n<li>\u78ba\u4fdd\u4f3a\u670d\u5668\u5df2\u9023\u63a5\u5230\u4e92\u806f\u7db2\u3002<\/li>\n<li>\u64c1\u6709\u7ba1\u7406\u54e1\u6b0a\u9650\u4ee5\u9032\u884c\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<h2 id=\"%e4%ba%8c%e3%80%81%e5%ae%89%e8%a3%9d-vpn-%e8%a7%92%e8%89%b2-OaqplWJcDt\">\u4e8c\u3001\u5b89\u88dd VPN \u89d2\u8272<\/h2>\n<p>1. \u6253\u958b\u300c\u4f3a\u670d\u5668\u7ba1\u7406\u54e1\u300d\uff0c\u9078\u64c7\u300c\u7ba1\u7406\u300d&gt;\u300c\u6dfb\u52a0\u89d2\u8272\u548c\u529f\u80fd\u300d\u3002<\/p>\n<p>2. \u5728\u300c\u89d2\u8272\u300d\u9078\u64c7\u9801\u9762\u4e2d\uff0c\u9078\u64c7\u300c\u9060\u7a0b\u8a2a\u554f\u300d\u89d2\u8272\uff0c\u7136\u5f8c\u9ede\u64ca\u300c\u4e0b\u4e00\u6b65\u300d\u3002<\/p>\n<p>3. \u5728\u300c\u89d2\u8272\u670d\u52d9\u300d\u9801\u9762\u4e2d\uff0c\u9078\u64c7\u300cVPN\u300d\u9078\u9805\uff0c\u7136\u5f8c\u9ede\u64ca\u300c\u4e0b\u4e00\u6b65\u300d\u3002<\/p>\n<p>4. \u5b8c\u6210\u5b89\u88dd\u904e\u7a0b\uff0c\u4e26\u91cd\u555f\u4f3a\u670d\u5668\uff08\u5982\u6709\u9700\u8981\uff09\u3002<\/p>\n<h2 id=\"%e4%b8%89%e3%80%81%e9%85%8d%e7%bd%ae-vpn-%e4%bc%ba%e6%9c%8d%e5%99%a8-OaqplWJcDt\">\u4e09\u3001\u914d\u7f6e VPN \u4f3a\u670d\u5668<\/h2>\n<p>1. \u6253\u958b\u300c\u9060\u7a0b\u8a2a\u554f\u7ba1\u7406\u54e1\u300d\uff0c\u9078\u64c7\u300c\u914d\u7f6e VPN\u300d\u9078\u9805\u3002<\/p>\n<p>2. \u5728\u300cVPN \u8a2d\u5b9a\u300d\u4e2d\uff0c\u9078\u64c7\u300c\u4f7f\u7528\u81ea\u52d5\u914d\u7f6e\u300d\u6216\u624b\u52d5\u914d\u7f6e\uff0c\u6839\u64da\u60a8\u7684\u9700\u6c42\u9032\u884c\u9078\u64c7\u3002<\/p>\n<p>3. \u8a2d\u5b9a IP \u5730\u5740\u7bc4\u570d\uff0c\u9019\u662f\u5206\u914d\u7d66\u9023\u63a5\u7528\u6236\u7684\u5730\u5740\u3002\u78ba\u4fdd\u9019\u500b\u7bc4\u570d\u4e0d\u8207\u5176\u4ed6\u7db2\u7d61\u8a2d\u5099\u7684\u5730\u5740\u7bc4\u570d\u91cd\u758a\u3002<\/p>\n<pre><code>192.168.1.100 - 192.168.1.200<\/code><\/pre>\n<h2 id=\"%e5%9b%9b%e3%80%81%e8%a8%ad%e7%bd%ae%e7%94%a8%e6%88%b6%e8%a8%aa%e5%95%8f%e6%ac%8a%e9%99%90-OaqplWJcDt\">\u56db\u3001\u8a2d\u7f6e\u7528\u6236\u8a2a\u554f\u6b0a\u9650<\/h2>\n<p>1. \u5728\u300c\u4f3a\u670d\u5668\u7ba1\u7406\u54e1\u300d\u4e2d\uff0c\u9078\u64c7\u300c\u5de5\u5177\u300d&gt;\u300c\u8a08\u7b97\u6a5f\u7ba1\u7406\u300d\u3002<\/p>\n<p>2. \u5c55\u958b\u300c\u672c\u5730\u7528\u6236\u548c\u7d44\u300d\uff0c\u53f3\u9375\u9ede\u64ca\u300c\u7528\u6236\u300d\uff0c\u9078\u64c7\u300c\u65b0\u5efa\u7528\u6236\u300d\u3002<\/p>\n<p>3. \u8f38\u5165\u7528\u6236\u540d\u548c\u5bc6\u78bc\uff0c\u4e26\u78ba\u4fdd\u9078\u64c7\u300c\u7528\u6236\u4e0d\u80fd\u66f4\u6539\u5bc6\u78bc\u300d\u548c\u300c\u5bc6\u78bc\u6c38\u4e0d\u904e\u671f\u300d\u3002<\/p>\n<p>4. \u5b8c\u6210\u5f8c\uff0c\u53f3\u9375\u9ede\u64ca\u65b0\u5efa\u7684\u7528\u6236\uff0c\u9078\u64c7\u300c\u5c6c\u6027\u300d\uff0c\u5728\u300c\u6210\u54e1\u8eab\u4efd\u300d\u9078\u9805\u5361\u4e2d\uff0c\u6dfb\u52a0\u8a72\u7528\u6236\u5230\u300cVPN \u7528\u6236\u300d\u7d44\u3002<\/p>\n<h2 id=\"%e4%ba%94%e3%80%81%e9%85%8d%e7%bd%ae%e9%98%b2%e7%81%ab%e7%89%86-OaqplWJcDt\">\u4e94\u3001\u914d\u7f6e\u9632\u706b\u7246<\/h2>\n<p>\u70ba\u4e86\u78ba\u4fdd VPN \u9023\u63a5\u7684\u5b89\u5168\u6027\uff0c\u60a8\u9700\u8981\u5728\u9632\u706b\u7246\u4e2d\u958b\u653e\u76f8\u61c9\u7684\u7aef\u53e3\uff1a<\/p>\n<ul>\n<li>\u958b\u653e UDP 500\uff08IKE\uff09<\/li>\n<li>\u958b\u653e UDP 4500\uff08NAT-T\uff09<\/li>\n<li>\u958b\u653e TCP 1723\uff08PPTP\uff09<\/li>\n<\/ul>\n<h2 id=\"%e5%85%ad%e3%80%81%e6%b8%ac%e8%a9%a6-vpn-%e9%80%a3%e6%8e%a5-OaqplWJcDt\">\u516d\u3001\u6e2c\u8a66 VPN \u9023\u63a5<\/h2>\n<p>1. \u5728\u5ba2\u6236\u7aef\u8a08\u7b97\u6a5f\u4e0a\uff0c\u6253\u958b\u300c\u7db2\u7d61\u548c\u5171\u4eab\u4e2d\u5fc3\u300d\uff0c\u9078\u64c7\u300c\u8a2d\u7f6e\u65b0\u7684\u9023\u63a5\u6216\u7db2\u7d61\u300d\u3002<\/p>\n<p>2. \u9078\u64c7\u300c\u9023\u63a5\u5230\u5de5\u4f5c\u5340\u300d\uff0c\u7136\u5f8c\u8f38\u5165 VPN \u4f3a\u670d\u5668\u7684\u516c\u5171 IP \u5730\u5740\u3002<\/p>\n<p>3. \u8f38\u5165\u4e4b\u524d\u5275\u5efa\u7684\u7528\u6236\u540d\u548c\u5bc6\u78bc\uff0c\u7136\u5f8c\u9ede\u64ca\u300c\u9023\u63a5\u300d\u3002<\/p>\n<p>4. \u5982\u679c\u4e00\u5207\u914d\u7f6e\u6b63\u78ba\uff0c\u60a8\u61c9\u8a72\u80fd\u5920\u6210\u529f\u9023\u63a5\u5230 VPN \u4f3a\u670d\u5668\u3002<\/p>\n<h2 id=\"%e4%b8%83%e3%80%81%e7%b8%bd%e7%b5%90-OaqplWJcDt\">\u4e03\u3001\u7e3d\u7d50<\/h2>\n<p>\u901a\u904e\u4ee5\u4e0a\u6b65\u9a5f\uff0c\u60a8\u61c9\u8a72\u80fd\u5920\u6210\u529f\u914d\u7f6e\u4e00\u500b Windows VPN \u4f3a\u670d\u5668\u3002\u9019\u4e0d\u50c5\u80fd\u5920\u4fdd\u8b77\u60a8\u7684\u7db2\u7d61\u5b89\u5168\uff0c\u9084\u80fd\u5920\u65b9\u4fbf\u5730\u8a2a\u554f\u516c\u53f8\u5167\u90e8\u8cc7\u6e90\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u4f86\u642d\u5efa\u60a8\u7684 VPN \u4f3a\u670d\u5668\uff0c\u9019\u6a23\u53ef\u4ee5\u7372\u5f97\u66f4\u7a69\u5b9a\u7684\u6027\u80fd\u548c\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a73\u7d30\u7684Windows VPN\u4f3a\u670d\u5668\u914d\u7f6e\u5716\u6587\u6559\u7a0b\uff0c\u8f15\u9b06\u5b78\u6703\u8a2d\u7f6e\u5b89\u5168\u7684\u865b\u64ec\u79c1\u4eba\u7db2\u8def\uff0c\u4fdd\u8b77\u60a8\u7684\u7db2\u7d61\u96b1\u79c1\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-54147","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/54147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=54147"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/54147\/revisions"}],"predecessor-version":[{"id":54148,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/54147\/revisions\/54148"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=54147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=54147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=54147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}