{"id":252,"date":"2025-11-09T21:40:00","date_gmt":"2025-11-09T13:40:00","guid":{"rendered":"https:\/\/skypray.synology.me\/blog\/?p=252"},"modified":"2026-08-15T08:56:03","modified_gmt":"2026-08-15T00:56:03","slug":"synology-openvpn-deco-x50-port-forwarding","status":"publish","type":"post","link":"https:\/\/skypray.synology.me\/blog\/computer\/synology-openvpn-deco-x50-port-forwarding\/","title":{"rendered":"\u5728\u5916\u4e5f\u80fd\u770b\u76e3\u8996\u5668\uff1a\u4f7f\u7528 Synology NAS \u67b6\u8a2d OpenVPN \u4e26\u642d\u914d Deco X50 Port Forwarding \u5168\u653b\u7565"},"content":{"rendered":"<div style=\"background: rgb(250, 250, 250); border: 1px solid rgb(221, 221, 221); margin: 14px 0px; padding: 12px 14px;\">\n<div style=\"font-weight: 700; margin-bottom: 8px;\">\u7ae0\u7bc0\u76ee\u9304<\/div>\n<ol class=\"toc-list\">\n<li><a href=\"#\u524d\u8a00\u8207\u4f7f\u7528\u60c5\u5883\u8aaa\u660e\">\u524d\u8a00\u8207\u4f7f\u7528\u60c5\u5883\u8aaa\u660e<\/a>\n<\/li>\n<li><a href=\"#\u8a72\u9078\u64c7\u54ea\u4e00\u7a2e\u8a2d\u5099\u4f86\u67b6\u8a2d-VPN\">\u8a72\u9078\u64c7\u54ea\u4e00\u7a2e\u8a2d\u5099\u4f86\u67b6\u8a2d VPN\uff1f<\/a>\n<ol class=\"toc-sub\">\n<li><a href=\"#VPN-\u884c\u70ba\u6a21\u5f0f\u7684\u95dc\u9375\u5dee\u7570\">VPN \u884c\u70ba\u6a21\u5f0f\u7684\u95dc\u9375\u5dee\u7570<\/a><\/li>\n<\/ol>\n<\/li>\n<li><a href=\"#VPN-Server-\u67b6\u8a2d\u6b65\u9a5f\">VPN Server \u67b6\u8a2d\u6b65\u9a5f<\/a>\n<\/li>\n<li><a href=\"#Port-Forwarding-\u8a2d\u5b9a\u6b65\u9a5f-\u4ee5Deco-X50\u70ba\u4f8b\">Port Forwarding \u8a2d\u5b9a\u6b65\u9a5f (\u4ee5Deco X50\u70ba\u4f8b)<\/a>\n<ol class=\"toc-sub\">\n<li><a href=\"#1-\u6253\u958b-Deco-App\">1.\u6253\u958b Deco App<\/a><\/li>\n<li><a href=\"#2-\u9032\u5165\u9032\u968e\u9078\u55ae\">2.\u9032\u5165\u9032\u968e\u9078\u55ae<\/a><\/li>\n<li><a href=\"#3-\u65b0\u589e\u898f\u5247\">3.\u65b0\u589e\u898f\u5247<\/a><\/li>\n<li><a href=\"#\u958b\u555fport\u6210\u529f\u7684\u6e2c\u8a66\u7db2\u5740\">\u958b\u555fport\u6210\u529f\u7684\u6e2c\u8a66\u7db2\u5740<\/a><\/li>\n<\/ol>\n<\/li>\n<li><a href=\"#OpenVPN-Client\u7684\u8a2d\u7f6e\">OpenVPN Client\u7684\u8a2d\u7f6e<\/a>\n<\/li>\n<li><a href=\"#\u7d50\u8ad6\u8207\u7d50\u8a9e\">\u7d50\u8ad6\u8207\u7d50\u8a9e<\/a>\n<\/li>\n<\/ol>\n<\/div>\n<h2 id=\"\u524d\u8a00\u8207\u4f7f\u7528\u60c5\u5883\u8aaa\u660e\">\u524d\u8a00\u8207\u4f7f\u7528\u60c5\u5883\u8aaa\u660e<\/h2>\n<p>\u4ec0\u9ebc\u6642\u5019\u6703\u9700\u8981\u7528\u5230\u300c\u81ea\u67b6 VPN\u300d\u5462\uff1f<br \/>\n\u8209\u4f8b\u4f86\u8aaa\uff0c\u6211\u5e73\u65e5\u4f4f\u5728 A \u5730\u9ede\uff0c\u5047\u65e5\u5247\u4f4f\u5728 B \u5730\u9ede\uff0c\u800c\u67d0\u4e9b\u96fb\u5b50\u8a2d\u5099\uff08\u4f8b\u5982\u76e3\u8996\u5668\u3001NAS\u3001\u667a\u6167\u5bb6\u96fb\uff09\u5fc5\u9808\u5728\u300c\u540c\u4e00\u500b\u5340\u57df\u7db2\u8def\u300d\u5167\u624d\u80fd\u5b58\u53d6\u6216\u64cd\u4f5c\u3002\u9019\u7a2e\u6642\u5019\uff0c\u6211\u5c31\u6703\u5728 B \u5730\u9ede\u67b6\u8a2d\u4e00\u53f0 VPN Server\uff0c\u8b93\u6211\u5373\u4f7f\u4eba\u5728 A \u5730\u9ede\u4e0a\u7db2\uff0c\u4e5f\u80fd\u900f\u904e VPN \u5c07\u81ea\u5df1\u7684\u300c\u7db2\u8def\u4f4d\u7f6e\u300d\u5207\u63db\u6210 B \u5730\u9ede\uff0c\u5c31\u50cf\u662f\u76f4\u63a5\u9023\u5728\u90a3\u88e1\u7684\u5bb6\u7528\u7db2\u8def\u4e00\u6a23\uff0c\u9032\u800c\u6b63\u5e38\u4f7f\u7528 B \u8655\u7684\u8a2d\u5099\u3002<span><\/span><\/p>\n<p>\u4ee5\u6211\u81ea\u5df1\u7684\u60c5\u6cc1\u70ba\u4f8b\uff0c\u6211\u5728\u4eca\u5e74 10 \u6708 29 \u65e5\u67b6\u8a2d\u4e86\u4e00\u5957\u76e3\u8996\u7cfb\u7d71\uff0c\u5305\u62ec\uff1a<\/p>\n<ol>\n<li>\n<p>TP-Link VIGI 4 \u8def PoE+ \u7db2\u8def NVR\uff08\u76e3\u8996\u5668\u4e3b\u6a5f\uff09<\/p>\n<\/li>\n<li>\n<p>TP-Link VIGI InSight S480 \u00d72 + VIGI C385 \u00d71\uff08\u76e3\u8996\u651d\u5f71\u6a5f\uff09<\/p>\n<\/li>\n<\/ol>\n<p>\u76ee\u524d\u9023\u7dda\u5230\u9019\u53f0\u76e3\u8996\u5668\u4e3b\u6a5f\u7684\u65b9\u6cd5\u6709\uff1a<\/p>\n<ol>\n<li>\n<p><strong>PC \u7248 VIGI PC Client<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u624b\u6a5f\uff0f\u5e73\u677f VIGI App<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u540c\u5340\u7db2\u4e0b\u4ee5\u700f\u89bd\u5668\u9023\u5165\u7ba1\u7406\u4ecb\u9762\uff08<a class=\"decorated-link cursor-pointer\" rel=\"noopener\" target=\"_new\">https:\/\/192.168.XX.XX\/\uff09<\/a><\/strong><\/p>\n<\/li>\n<\/ol>\n<p>\u7136\u800c\u9019\u4e09\u7a2e\u65b9\u5f0f\u5404\u6709\u660e\u986f\u9650\u5236\uff1a<\/p>\n<ul>\n<li>\n<p>\u65b9\u5f0f \u2460 \u8207 \u2461\uff1a\u53ea\u8981\u5728\u300c\u56de\u653e\u300d\u6642\u524d\u5f8c\u62d6\u66f3\u6642\u9593\u8ef8\u5e7e\u6b21\uff0c<strong>\u5f88\u5bb9\u6613\u76f4\u63a5\u7576\u6389\u6216\u5361\u4f4f<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p>\u65b9\u5f0f \u2462 \u96d6\u7136\u6700\u7a69\u5b9a\uff0c\u4f46<strong>\u53ea\u80fd\u5728\u540c\u4e00\u500b\u5340\u7db2\u5167\u4f7f\u7528<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p>\u53e6\u5916\u88dc\u5145\uff1a<\/p>\n<ul>\n<li>\n<p>\u65b9\u5f0f \u2460 \u5728\u4e0d\u540c\u7db2\u8def\u74b0\u5883\u4e0b <strong>\u53ea\u80fd\u770b\uff0c\u4e0d\u80fd\u4e0b\u8f09\u9304\u5f71<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p>\u65b9\u5f0f \u2461 \u96d6\u7136\u624b\u6a5f\uff0f\u5e73\u677f\u53ef\u4ee5\u4e0b\u8f09\u9304\u5f71\uff0c\u4f46<strong>\u756b\u8cea\u6703\u88ab\u58d3\u7e2e<\/strong>\uff08\u90a3\u6211\u8cb7 4K \u651d\u5f71\u6a5f\u9084\u6709\u4ec0\u9ebc\u610f\u7fa9\uff1f\uff09<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u7d9c\u5408\u4ee5\u4e0a\uff0c\u60f3\u8981\u5728\u5916\u5730\u7a69\u5b9a\u5b58\u53d6\u4e26\u4ee5\u300c\u539f\u756b\u8cea\u300d\u56de\u770b\uff0f\u4e0b\u8f09\u76e3\u8996\u5668\u5f71\u50cf\uff0c\u5fc5\u9808\u89e3\u6c7a\u300c\u8de8\u7db2\u8def\u3001\u540c\u5340\u7db2\u300d\u7684\u554f\u984c\uff0c\u800c <strong>VPN \u5728\u9019\u88e1\u5c31\u6210\u4e86\u95dc\u9375\u89e3\u6cd5<\/strong>\u3002<span><\/span><\/p>\n<p><!--more--><\/p>\n<h2 id=\"\u8a72\u9078\u64c7\u54ea\u4e00\u7a2e\u8a2d\u5099\u4f86\u67b6\u8a2d-VPN\">\u8a72\u9078\u64c7\u54ea\u4e00\u7a2e\u8a2d\u5099\u4f86\u67b6\u8a2d VPN\uff1f<\/h2>\n<p>\u4ee5\u6211\u76ee\u524d\u624b\u4e0a\u7684\u8a2d\u5099\u4f86\u8aaa\uff0c\u6211\u539f\u672c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 <strong>TP-Link Deco X50 AX3000<\/strong> \u9019\u53f0 Wi-Fi \u5206\u4eab\u5668\u4f86\u958b\u555f\u5167\u5efa\u7684 VPN \u529f\u80fd\u3002\u7136\u800c\u5be6\u969b\u4f7f\u7528\u5f8c\u767c\u73fe\uff0c\u7db2\u8def\u53cd\u800c\u8b8a\u5f97\u4e0d\u7a69\u5b9a\uff0c\u6642\u4e0d\u6642\u6703\u65b7\u7dda\u3002\u5f8c\u4f86\u67e5\u4e86\u4e00\u4e9b\u8cc7\u6599\uff0c\u624d\u767c\u73fe\u554f\u984c\u7684\u6838\u5fc3\u5728\u65bc <strong>\u5bb6\u7528\u7121\u7dda\u5206\u4eab\u5668\u7684\u786c\u9ad4\u8cc7\u6e90\u6709\u9650<\/strong>\uff0c\u672c\u4f86\u5c31\u4e0d\u662f\u8a2d\u8a08\u4f86\u540c\u6642\u8ca0\u64d4 <strong>\u7db2\u8def\u50b3\u8f38 + \u8def\u7531 + VPN \u52a0\u5bc6<\/strong> \u7b49\u8ca0\u8377\u5de5\u4f5c\uff0c\u56e0\u6b64\u5728 VPN \u9023\u7dda\u6642\u5c31\u5bb9\u6613\u7522\u751f\u5ef6\u9072\u3001\u6389\u7dda\u6216\u6574\u9ad4\u7db2\u901f\u4e0b\u964d\u7684\u60c5\u6cc1\u3002<\/p>\n<\/p>\n<p>\u76f8\u6bd4\u4e4b\u4e0b\uff0c<strong>Synology NAS \u672c\u8eab\u5c31\u662f\u4f3a\u670d\u5668\u67b6\u69cb<\/strong>\uff0c\u904b\u7b97\u6548\u80fd\u8207\u7a69\u5b9a\u6027\u90fd\u512a\u65bc\u4e00\u822c\u7121\u7dda\u5206\u4eab\u5668\uff0c\u56e0\u6b64\u8b93 NAS \u984d\u5916\u8ca0\u64d4\u4e00\u500b VPN Server \u5e7e\u4e4e\u4e0d\u6703\u9020\u6210\u58d3\u529b\uff0c\u7a69\u5b9a\u5ea6\u4e5f\u660e\u986f\u66f4\u597d\u3002<\/p>\n<h3 id=\"VPN-\u884c\u70ba\u6a21\u5f0f\u7684\u95dc\u9375\u5dee\u7570\">VPN \u884c\u70ba\u6a21\u5f0f\u7684\u95dc\u9375\u5dee\u7570<\/h3>\n<p>\u9664\u4e86\u300c\u786c\u9ad4\u8ca0\u8f09\u80fd\u529b\u300d\u4e4b\u5916\uff0c<strong>Deco X50 \u8207 Synology VPN \u9084\u6709\u4e00\u500b\u975e\u5e38\u91cd\u8981\u7684\u5dee\u7570<\/strong>\uff1a<\/p>\n<div class=\"_tableContainer_1rjym_1\">\n<div class=\"group _tableWrapper_1rjym_13 flex w-fit flex-col-reverse\" tabindex=\"-1\">\n<table class=\"w-fit min-w-(--thread-content-width)\">\n<thead>\n<tr>\n<th data-col-size=\"sm\">VPN \u884c\u70ba\u6a21\u5f0f<\/th>\n<th data-col-size=\"sm\">Deco X50<\/th>\n<th data-col-size=\"sm\">Synology NAS<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-col-size=\"sm\">VPN \u662f\u5426\u53ef\u9078\u64c7\u6027\u5206\u6d41\uff08Split Tunneling\uff09<\/td>\n<td data-col-size=\"sm\">\u274c \u4e0d\u652f\u63f4<\/td>\n<td data-col-size=\"sm\">\u2705 \u652f\u63f4<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">\u9023\u7dda\u5230 B \u9ede\u5f8c\uff0c\u6240\u6709\u7db2\u8def\u6d41\u91cf\u662f\u5426\u90fd\u6703\u8d70 B \u9ede<\/td>\n<td data-col-size=\"sm\">\u2705 \u5168\u90e8\u8d70 B \u9ede \u2192 \u8b8a\u6162<\/td>\n<td data-col-size=\"sm\">\u274c \u53ea\u6709\u9023 B \u9ede\u5340\u7db2\u7684\u6d41\u91cf\u8d70 VPN\uff0c\u5176\u9918\u7167\u539f\u7db2\u8def\u8d70<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">\u662f\u5426\u9700\u8981\u624b\u52d5\u65b7\u7dda<\/td>\n<td data-col-size=\"sm\">\u2705 \u9700\u8981\uff08\u4e0d\u7136\u6703\u5361\u6162\uff09<\/td>\n<td data-col-size=\"sm\">\u274c \u4e0d\u9700\u8981\uff08\u53ef\u5e38\u99d0\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u4e5f\u5c31\u662f\u8aaa\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528 <strong>Deco X50 \u7684 VPN<\/strong>\uff1a<br \/>\n\u5f9e A \u9ede\u9023\u5230 B \u9ede\u5f8c\uff0c<strong>\u4f60\u6240\u6709\u7684\u7db2\u8def\u6d41\u91cf\uff08\u770b YouTube\u3001\u901b\u7db2\u9801\u3001\u958b\u904a\u6232\u2026\uff09\u90fd\u6703\u7e5e\u5230 B \u9ede\u518d\u51fa\u53bb<\/strong>\uff0c\u56e0\u6b64\u901f\u5ea6\u6703\u660e\u986f\u8b8a\u6162\u3002<br \/>\n\u6240\u4ee5\u4f60\u505a\u5b8c\u4e8b\u60c5\u5f8c\u9084\u8981\u8a18\u5f97\u624b\u52d5\u300c\u65b7\u958b VPN\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 <strong>Synology NAS \u7684 VPN<\/strong>\uff1a<br \/>\n\u9023\u5230 B \u9ede\u5f8c\uff0c<strong>\u53ea\u6709\u300c\u9700\u8981\u5b58\u53d6 B \u9ede\u5340\u7db2\u8a2d\u5099\u300d\u7684\u6d41\u91cf\u6703\u8d70 VPN<\/strong>\uff0c\u5176\u4ed6\u4e00\u822c\u4e0a\u7db2\u4f9d\u7136\u8d70\u4f60 A \u9ede\u81ea\u5df1\u7684\u7db2\u8def\u3002<br \/>\n\u63db\u53e5\u8a71\u8aaa\uff0c\u5b83\u662f\u300c\u81ea\u52d5\u667a\u80fd\u5206\u6d41\u300d\uff0c\u80fd\u4e00\u76f4\u4fdd\u6301\u9023\u7dda\u4e0d\u5f71\u97ff\u901f\u5ea6\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u7684\u9700\u6c42\u662f\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u7a69\u5b9a\u9023\u7dda\u76e3\u8996\u5668 \/ NAS \/ \u5bb6\u88e1\u7684\u8a2d\u5099<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u5e0c\u671b VPN \u80fd\u5e38\u99d0\uff0c\u800c\u4e0d\u662f\u6bcf\u6b21\u7528\u5b8c\u90fd\u5f97\u65b7\u7dda<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u5e0c\u671b\u4e0a\u7db2\u901f\u5ea6\u4e0d\u8981\u56e0 VPN \u800c\u8b8a\u6162<\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u90a3\u9ebc\uff1a<strong>\u512a\u5148\u9078\u64c7 Synology NAS \u4f86\u67b6\u8a2d VPN Server \u662f\u6700\u4f73\u89e3\u3002<\/strong><\/p>\n<p>\u800c Deco X50 \u96d6\u7136\u4e5f\u80fd\u67b6 VPN\uff0c\u4f46\u66f4\u9069\u5408\u4f5c\u70ba\u300cWi-Fi \u8986\u84cb\u8a2d\u5099\u300d\uff0c\u4e0d\u63a8\u85a6\u518d\u80a9\u8ca0 VPN \u89d2\u8272\u3002<\/p>\n<h2 id=\"VPN-Server-\u67b6\u8a2d\u6b65\u9a5f\">VPN Server \u67b6\u8a2d\u6b65\u9a5f<\/h2>\n<\/p>\n<p style=\"text-align: left;\"><strong>1.\u5728 Synology NAS \u5b89\u88dd VPN Server \u5957\u4ef6<\/strong><\/p>\n<p style=\"text-align: left;\">\u6253\u958b\u300c\u5957\u4ef6\u4e2d\u5fc3\u300d\u641c\u5c0b <strong>VPN Server<\/strong> \u4e26\u5b89\u88dd\u3002<\/p>\n<p style=\"text-align: left;\"><strong>2.\u958b\u555f VPN Server\uff0c\u9078\u64c7\u4f7f\u7528 OpenVPN<\/strong><\/p>\n<p style=\"text-align: left;\">VPN Server \u5167\u5171\u6709\u4e09\u7a2e\u5354\u5b9a\u53ef\u9078\uff1a<strong>PPTP\u3001OpenVPN\u3001L2TP\/IPsec<\/strong>\u3002<\/p>\n<p style=\"text-align: left;\">\u6211\u9078\u64c7\u7684\u662f <strong>OpenVPN<\/strong>\uff0c\u539f\u56e0\u662f <strong>\u7a69\u5b9a\u5ea6\u9ad8\u3001\u901f\u5ea6\u5feb\u3001\u7a7f\u900f\u80fd\u529b\u5f37<\/strong>\u3002<\/p>\n<ul style=\"text-align: left;\">\n<li>\n<p>\u9810\u8a2d\u9023\u63a5\u57e0\u70ba <strong>1194 (UDP)<\/strong><\/p>\n<\/li>\n<li>\n<p>\u4f46\u7531\u65bc\u6211\u7684\u8def\u7531\u5668\uff08TP-Link Deco X50\uff09\u4f3c\u4e4e\u6703\u4fdd\u7559 1194 \u7d66\u81ea\u8eab\u7684 VPN \u529f\u80fd\uff0c\u56e0\u6b64\u5916\u90e8\u9023\u7dda\u7121\u6cd5\u901a\u904e\u3002<\/p>\n<\/li>\n<li>\n<p>\u70ba\u907f\u514d\u88ab\u64cb\uff0c\u6211\u5c07 <strong>\u9023\u63a5\u57e0\u6539\u70ba 443\uff08UDP\uff09<\/strong>\uff0c\u9019\u500b port \u901a\u5e38\u4e0d\u6703\u88ab\u5c01\u9396\u3002<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: left;\">\u5176\u4ed6\u8a2d\u5b9a\u5927\u591a\u53ef\u4ee5\u7dad\u6301\u9810\u8a2d\u503c\u3002<\/p>\n<p style=\"text-align: left;\">\u8a2d\u5b9a\u5b8c\u6210\u5f8c\uff0c\u6309\u4e0b\u9801\u9762\u5e95\u90e8\u7684 <strong>\u300c\u532f\u51fa\u8a2d\u5b9a\u6a94\u300d<\/strong>\uff0c\u7cfb\u7d71\u6703\u4e0b\u8f09\u4e00\u500b <strong>openvpn.zip<\/strong>\uff0c\u89e3\u58d3\u7e2e\u5f8c\u6703\u627e\u5230 <strong>VPNConfig.ovpn<\/strong>\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5354\u5b9a<\/th>\n<th>\u7279\u6027\u4e00\u53e5\u8a71<\/th>\n<th>\u9069\u4e0d\u9069\u5408\u73fe\u5728\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>PPTP<\/strong><\/td>\n<td>\u5f88\u820a\u3001\u901f\u5ea6\u5feb\u3001\u4f46\u5b89\u5168\u6027\u6975\u5dee<\/td>\n<td>\u274c \u5df2\u4e0d\u5efa\u8b70\u4f7f\u7528<\/td>\n<\/tr>\n<tr>\n<td><strong>L2TP\/IPsec<\/strong><\/td>\n<td>\u7a69\u5b9a\u3001\u76f8\u5bb9\u6027\u597d\u3001\u52a0\u5bc6\u6bd4 PPTP \u5f37<\/td>\n<td>\u2705 \u4e00\u822c\u5bb6\u5ead + \u624b\u6a5f\u9023\u56de\u5bb6\u6700\u5e38\u7528<\/td>\n<\/tr>\n<tr>\n<td><strong>OpenVPN<\/strong><\/td>\n<td><strong>\u6700\u5b89\u5168<\/strong>\u3001\u7a7f\u900f\u529b\u5f37\u3001\u5ef6\u9072\u4f4e\u3001\u53ef\u5fae\u8abf\u8a2d\u5b9a<\/td>\n<td>\u2705 \u9032\u968e\u7528\u6236\u8207 NAS \u63a8\u85a6\u9996\u9078<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-2e0952205a778c55.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"1871\" data-original-width=\"3001\" height=\"399\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-2e0952205a778c55.png\" style=\"height: auto; max-width: 100%;\" width=\"640\" \/><\/a><\/div>\n<p style=\"clear: both; text-align: left;\">\u9664\u6b64\u4e4b\u5916\uff0c\u4e5f\u5225\u5fd8\u4e86\u8a2d\u5b9a\uff0cNAS\u54ea\u4e9b\u4f7f\u7528\u8005\u53ef\u4ee5\u6709\u4f7f\u7528VPN\u7684\u6b0a\u9650\u3002<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-83f7cb7cafef0b04.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"1329\" data-original-width=\"2997\" height=\"284\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-83f7cb7cafef0b04.png\" style=\"height: auto; max-width: 100%;\" width=\"640\" \/><\/a><\/div>\n<p><\/p>\n<p style=\"clear: both; text-align: center;\">\n<p><\/p>\n<p style=\"text-align: left;\">3.<strong>\u7de8\u8f2f VPN \u8a2d\u5b9a\u6a94<\/strong><\/p>\n<p style=\"text-align: left;\">\u53f3\u9375 <strong>VPNConfig.ovpn \u2192 \u4f7f\u7528\u8a18\u4e8b\u672c\u958b\u555f<\/strong><\/p>\n<p>\u627e\u5230\u7b2c\u4e09\u5217\uff1a\u300cremote <b>YOUR_SERVER_IP<\/b> 443\u300d<\/p>\n<p>\u5c07<b> YOUR_SERVER_IP <\/b>\u66ff\u63db\u6210\u4f60\u7684 \u56fa\u5b9a IP \u6216 DDNS \u7db2\u57df\u540d\u7a31\u3002\u82e5\u4f60\u4f7f\u7528 Synology \u63d0\u4f9b\u7684 DDNS\uff0c\u683c\u5f0f\u901a\u5e38\u6703\u662f\uff1axxx.synology.me\u3002\u95dc\u65bc\u5982\u4f55\u8a3b\u518a\u53ef\u4ee5\u53c3\u8003\u6211\u7684<a href=\"https:\/\/skypray.synology.me\/blog\/computer\/synology-quickconnect-vs-ddns-remote-access\/\" target=\"_blank\">\u9019\u4e00\u7bc7<\/a>\u3002<\/p>\n<h2 id=\"Port-Forwarding-\u8a2d\u5b9a\u6b65\u9a5f-\u4ee5Deco-X50\u70ba\u4f8b\" style=\"text-align: left;\">Port Forwarding \u8a2d\u5b9a\u6b65\u9a5f (\u4ee5Deco X50\u70ba\u4f8b)<\/h2>\n<p style=\"text-align: left;\"><i><b>\u82e5\u662f\u4f7f\u7528\u4e2d\u83ef\u96fb\u4fe1\u5149\u4e16\u4ee3\uff0c\u8a18\u5f97\u8981\u5148\u78ba\u5b9aDeco X50\u7684\u7db2\u8def\u662f\u76f4\u63a5\u4e0a\u7db2\uff0c\u800c\u975e\u900f\u904e\u5c0f\u70cf\u9f9c\u64a5\u865f\u63d0\u4f9b\u7684\u7db2\u8def\u3002<\/b><\/i><\/p>\n<p style=\"text-align: left;\"><strong>TP-Link Deco<\/strong>&nbsp;App\u2192 \u9ede\u9078&nbsp;<strong>\u53f3\u4e0b\u89d2\u300c\u66f4\u591a\u300d<\/strong><span>\u2192\u7db2\u969b\u7db2\u8def\u9023\u7dda\u2192IPv4<\/span><\/p>\n<p style=\"text-align: left;\">\u9019\u88e1\u986f\u793a\u7684\u300cIP\u4f4d\u5740\u300d\u61c9\u8a72\u662f\u5916\u7db2IP\uff0c\u800c\u4e0d\u662f\u5167\u7db2IP (192.168.X.X)<\/p>\n<p style=\"text-align: left;\">\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-1f69b12ed52a2da4.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"2532\" data-original-width=\"1170\" height=\"640\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-1f69b12ed52a2da4.png\" style=\"height: auto; max-width: 100%;\" width=\"296\" \/><\/a><\/div>\n<p>\u82e5\u662f\u5167\u7db2IP\uff0c\u8acb\u9ede\u9078\u300c\u7db2\u8def\u7db2\u8def\u8a2d\u5b9a\u300d\u2192\u7db2\u8def\u7db2\u8def\u9023\u7dda\u985e\u578b\u2192PPPoE\uff0c\u7136\u5f8c\u5c07\u4e2d\u83ef\u96fb\u4fe1\u7684\u4f7f\u7528\u8005\u540d\u7a31\u548c\u5bc6\u78bc\u8f38\u5165\u3002<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-3652b483119f0856.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"2532\" data-original-width=\"1170\" height=\"640\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-3652b483119f0856.png\" style=\"height: auto; max-width: 100%;\" width=\"296\" \/><\/a><\/div>\n<p><\/p>\n<h3 id=\"1-\u6253\u958b-Deco-App\">1.\u6253\u958b Deco App<\/h3>\n<p>\u624b\u6a5f\u6253\u958b <strong>TP-Link Deco<\/strong> App \u2192 \u9ede\u9078 <strong>\u53f3\u4e0b\u89d2\u300c\u66f4\u591a\u300d<\/strong><\/p>\n<h3 id=\"2-\u9032\u5165\u9032\u968e\u9078\u55ae\">2.\u9032\u5165\u9032\u968e\u9078\u55ae<\/h3>\n<p>\u9078 <strong>\u9032\u968e \u2192 NAT \u5c0e\u5411 \u2192 \u901a\u8a0a\u57e0\u8f49\u767c\uff08Port Forwarding\uff09<\/strong><\/p>\n<h3 id=\"3-\u65b0\u589e\u898f\u5247\">3.\u65b0\u589e\u898f\u5247<\/h3>\n<p>\u6309 <strong>\u300c+ \u65b0\u589e\u300d\uff0c<\/strong>\u586b\u5165\u4ee5\u4e0b\u5167\u5bb9\uff1a<\/p>\n<p><i>\u670d\u52d9\u985e\u578b\uff1a\u81ea\u8a02<\/i><\/p>\n<p><i>\u670d\u52d9\u540d\u7a31\uff1aOpenVPN (\u53ef\u81ea\u8a02\uff09<\/i><\/p>\n<p><i>\u5167\u90e8IP\uff1a\u4f7f\u7528\u7528\u6236\u7aefIP\u4f4d\u5740 (\u9019\u88e1\u9078\u64c7NAS\u88dd\u7f6e\u7684\u5340\u7db2IP\uff1a192.168.X.X)<\/i><\/p>\n<p><i>\u5167\u90e8\u901a\u8a0a\u57e0\uff1a443<\/i><\/p>\n<p><i>\u5916\u90e8\u901a\u8a0a\u57e0\uff1a443<\/i><\/p>\n<p><i>\u5354\u5b9a\uff1aTCP&amp;UDP<\/i><\/p>\n<h3 id=\"\u958b\u555fport\u6210\u529f\u7684\u6e2c\u8a66\u7db2\u5740\" style=\"text-align: left;\">\u958b\u555fport\u6210\u529f\u7684\u6e2c\u8a66\u7db2\u5740<\/h3>\n<p><a href=\"https:\/\/portchecker.co\/\" target=\"_blank\">https:\/\/portchecker.co\/<\/a><\/p>\n<p>\u6b64\u7db2\u5740\u8f38\u5165\u4f60NAS\u6240\u5728\u4f4d\u7f6e\u7684\u5916\u7db2IP\u548cport\uff0c\u5c31\u53ef\u4ee5\u77e5\u9053port forwarding\u6709\u6c92\u6709\u958b\u6210\u529f\u3002<\/p>\n<h2 id=\"OpenVPN-Client\u7684\u8a2d\u7f6e\" style=\"text-align: left;\">OpenVPN Client\u7684\u8a2d\u7f6e<\/h2>\n<p>\u7d42\u65bc\u5230\u4e86\u6700\u5f8c\u4e00\u6b65\u4e86\uff01<\/p>\n<p>\u5148\u4e0b\u8f09\u6700\u65b0\u7248\u672c\u7684OpenVPN Client\uff0c\u63a8\u85a6\u4f7f\u7528\u9019\u500b<\/p>\n<p><a href=\"https:\/\/openvpn.net\/community\/\" target=\"_blank\">https:\/\/openvpn.net\/community\/<\/a><\/p>\n<p>\u9032\u5165\u5f8c\u76f4\u63a5\u4e0b\u8f09\u6700\u65b0\u7248\u672c\uff0c\u50cf\u6211\u662fPC\uff0c\u90a3\u5c31\u662f\u4e0b\u8f09\u6700\u660e\u986f\u7684\u90a3\u500b\u7248\u672c<\/p>\n<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-b457d3880a156364.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"1103\" data-original-width=\"1916\" height=\"368\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-b457d3880a156364.png\" style=\"height: auto; max-width: 100%;\" width=\"640\" \/><\/a><\/div>\n<div><\/div>\n<p>\u525b\u5b89\u88dd\u5b8c\u6703\u8df3\u51fa\u4e00\u6bb5\u932f\u8aa4\u8a0a\u606f\uff0c\u4e0d\u7528\u7dca\u5f35<\/p>\n<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-ba7d7fe8f790e51f.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"517\" data-original-width=\"1439\" height=\"115\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-ba7d7fe8f790e51f.png\" style=\"height: auto; max-width: 100%;\" width=\"320\" \/><\/a><\/div>\n<p style=\"text-align: left;\"><\/p>\n<p style=\"text-align: left;\">\u5728\u525b\u525b\u4fee\u6539\u597d\u7684\u8a2d\u5b9a\u6a94VPNConfig.ovpn\u6309\u53f3\u9375\uff0c\u9078\u64c7\u300cImport into OpenVPN-GUI\u300d<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-8ae6b0987372128d.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"1518\" data-original-width=\"1524\" height=\"637\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-8ae6b0987372128d.png\" style=\"height: auto; max-width: 100%;\" width=\"640\" \/><\/a><\/div>\n<\/p>\n<p><\/p>\n<p>\u7136\u5f8c\u5728OpenVPN\u5716\u793a\u4e0a\u6309\u300c\u9023\u7dda\u300d\uff0c<\/p>\n<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-cc505c5144f60aca.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"1107\" data-original-width=\"656\" height=\"240\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-cc505c5144f60aca.png\" style=\"height: auto; max-width: 100%;\" width=\"142\" \/><\/a><\/div>\n<p style=\"text-align: left;\"><\/p>\n<p style=\"text-align: left;\">\u53f3\u4e0b\u89d2\u51fa\u73fe\u4ee5\u4e0b\u8a0a\u606f\u5373\u8868\u793a\u9023\u7dda\u6210\u529f\uff0c\u53ef\u4ee5\u6210\u529f\u4f7f\u7528VPN\u4e86\uff01<\/p>\n<\/p>\n<p style=\"clear: both; text-align: center;\"><a href=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-b02d32e481c6e627.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" data-original-height=\"329\" data-original-width=\"1084\" height=\"97\" src=\"https:\/\/skypray.synology.me\/blog\/wp-content\/uploads\/2025\/11\/blogger-b02d32e481c6e627.png\" style=\"height: auto; max-width: 100%;\" width=\"320\" \/><\/a><\/p>\n<\/p>\n<h2 id=\"\u7d50\u8ad6\u8207\u7d50\u8a9e\">\u7d50\u8ad6\u8207\u7d50\u8a9e<\/h2>\n<p>\u5728\u5916\u60f3\u7a69\u5b9a\u9023\u56de\u5bb6\u4e2d\u76e3\u8996\u5668\u3001NAS \u6216\u667a\u6167\u5bb6\u96fb\uff0c\u5176\u5be6\u6838\u5fc3\u4e0d\u662f\u300c\u80fd\u4e0d\u80fd\u9023\u4e0a\u53bb\u300d\uff0c\u800c\u662f\u300c\u9023\u7dda\u662f\u5426\u7a69\u5b9a\u3001\u901f\u5ea6\u662f\u5426\u5920\u5feb\u3001\u662f\u5426\u80fd\u4fdd\u6301\u539f\u756b\u8cea\u4e14\u4e0d\u5f71\u97ff\u4e00\u822c\u4e0a\u7db2\u300d\u3002\u5be6\u52d9\u4e0a\uff0c\u8b93 Wi-Fi \u5206\u4eab\u5668\u540c\u6642\u8ca0\u8cac\u8def\u7531\u3001\u7121\u7dda\u3001VPN \u52a0\u5bc6\u7b49\u5de5\u4f5c\uff0c\u5f80\u5f80\u6703\u9020\u6210\u5ef6\u9072\u3001\u65b7\u7dda\u6216\u6574\u9ad4\u7db2\u901f\u4e0b\u964d\uff0c\u56e0\u6b64 TP-Link Deco X50 \u96d6\u7136\u5177\u5099 VPN \u529f\u80fd\uff0c\u4f46\u4e26\u4e0d\u9069\u5408\u4f5c\u70ba\u4e3b\u8981\u7684 VPN Server\u3002<\/p>\n<p>\u53cd\u4e4b\uff0cSynology NAS \u672c\u8eab\u5c31\u662f\u70ba\u9577\u6642\u9593\u904b\u4f5c\u8a2d\u8a08\u7684\u4f3a\u670d\u5668\u67b6\u69cb\uff0c\u904b\u7b97\u6548\u80fd\u8207\u7a69\u5b9a\u5ea6\u6bd4\u5bb6\u7528\u5206\u4eab\u5668\u9ad8\u5f88\u591a\uff0c\u518d\u52a0\u4e0a\u5176 OpenVPN \u652f\u63f4\u5206\u6d41\uff08Split Tunneling\uff09\uff0c\u53ef\u4ee5\u505a\u5230\u300c\u53ea\u6709\u9023\u56de\u5bb6\u6642\u624d\u8d70 VPN\uff0c\u5176\u9918\u4e0a\u7db2\u7dad\u6301\u539f\u672c\u901f\u5ea6\u300d\uff0c\u65e5\u5e38\u4f7f\u7528\u4e2d\u4e0d\u9700\u53cd\u8986\u65b7\u7dda\u5207\u63db\uff0c\u5927\u5e45\u63d0\u5347\u4fbf\u5229\u6027\u8207\u9ad4\u9a57\u54c1\u8cea\u3002<\/p>\n<\/p>\n<p data-is-last-node=\"\" data-is-only-node=\"\">\u900f\u904e OpenVPN + Deco X50 Port Forwarding \u7684\u642d\u914d\uff0c\u6211\u5011\u5c31\u80fd\u5728\u5916\u7121\u8ad6\u4f7f\u7528\u624b\u6a5f\u3001\u5e73\u677f\u6216\u7b46\u96fb\uff0c\u90fd\u80fd\u50cf\u5728\u5bb6\u4e2d\u4e00\u6a23\u89c0\u770b\u76e3\u8996\u5668\u539f\u59cb\u756b\u8cea\u7684\u9304\u5f71\u3001\u4e0b\u8f09\u6a94\u6848\u3001\u751a\u81f3\u9060\u7aef\u63a7\u5236\u8a2d\u5099\u3002\u53ea\u8981\u524d\u671f\u8a2d\u5b9a\u5b8c\u5584\uff0c\u4e4b\u5f8c\u5c31\u80fd\u771f\u6b63\u505a\u5230\u300c\u4e0d\u7ba1\u8eab\u8655\u4f55\u5730\uff0c\u90fd\u80fd\u56de\u5230\u5bb6\u88e1\u7684\u7db2\u8def\u300d\u7684\u7406\u60f3\u4f7f\u7528\u6a21\u5f0f\u3002<\/p>\n<div class=\"_tableContainer_1rjym_1\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u60f3\u5728\u5916\u9060\u7aef\u67e5\u770b\u5bb6\u4e2d\u76e3\u8996\u5668\u3001NAS \u6216\u667a\u6167\u8a2d\u5099\uff1f\u672c\u6587\u6559\u4f60\u4ee5 Synology NAS \u67b6\u8a2d OpenVPN\uff0c\u518d\u642d\u914d TP-Link Deco X50 \u9032\u884c Port Forwarding\uff0c\u5be6\u73fe\u8de8\u7db2\u8def\u4e5f\u80fd\u50cf\u5728\u5bb6\u4e00\u6a23\u7a69\u5b9a\u9023\u7dda\u8207\u539f\u756b\u8cea\u56de\u653e\u7684\u6700\u4f73\u65b9\u6848\u3002<\/p>\n","protected":false},"author":1,"featured_media":1184,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":2,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":1645,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions\/1645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/media\/1184"}],"wp:attachment":[{"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skypray.synology.me\/blog\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}