{"id":14878,"date":"2022-09-28T05:35:46","date_gmt":"2022-09-27T21:35:46","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=14878"},"modified":"2022-09-28T05:36:37","modified_gmt":"2022-09-27T21:36:37","slug":"pptp-setup-server","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/pptp-setup-server.html","title":{"rendered":"PPTP\u670d\u52a1\u5668\u914d\u7f6e\u9009\u9879\u8be6\u89e3"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nPPTP\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\u7684\u683c\u5f0f\u4e0e\u5176\u5b83\u8bb8\u591aUnix\u7a0b\u5e8f\u76f8\u4f3c\uff0c\u6bcf\u4e00\u884c\u5305\u542b\u4e00\u9879\u914d\u7f6e\u5185\u5bb9\uff0c\u4ee5\u914d\u7f6e\u9009\u9879\u540d\u79f0\u5f00\u59cb\uff0c\u540e\u9762\u7d27\u8ddf\u53c2\u6570\u503c\u6216\u8005\u5173\u952e\u5b57\uff0c\u5b83\u4eec\u4e4b\u95f4\u7528\u7a7a\u683c\u5206\u9694\u3002\u5728\u8bfb\u53d6\u914d\u7f6e\u6587\u4ef6\u65f6\uff0cpptpd\u8fdb\u7a0b\u5c06\u5ffd\u7565\u7a7a\u884c\u548c\u6bcf\u4e00\u884c\u201c#\u201d\u540e\u9762\u7684\u6ce8\u91ca\u3002PPTP\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6bd4\u8f83\u7b80\u5355\uff0c\u603b\u5171\u53ea\u670912\u4e2a\u914d\u7f6e\u9009\u9879\uff0c\u4e0b\u9762\u5bf9\u8fd9\u4e9b\u9009\u9879\u8fdb\u884c\u8be6\u7ec6\u7684\u8bf4\u660e\uff1a<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u6307\u5b9a\u9009\u9879\u6587\u4ef6<\/strong><\/div>\n
option option-file<\/pre>\n

\u529f\u80fd\uff1a\u6307\u5b9a\u4e00\u4e2a\u9009\u9879\u6587\u4ef6\uff0c\u91cc\u9762\u5185\u5bb9\u4f5c\u4e3apptpd\u8fdb\u7a0b\u542f\u52a8\u65f6\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\u4e0e\u6267\u884cpptpd\u547d\u4ee4\u65f6\u4f7f\u7528\u201c--option\u201d\u9009\u9879\u6307\u5b9a\u53c2\u6570\u6548\u679c\u662f\u4e00\u6837\u7684\u3002<\/p>\n

\u9632\u6b62DoS\u653b\u51fb<\/strong><\/div>\n
stimeout seconds<\/pre>\n

\u529f\u80fd\uff1a\u6d3e\u751fpptpctrl\u8fdb\u7a0b\u5904\u7406\u5ba2\u6237\u7aef\u8fde\u63a5\uff0c\u7b49\u5ba2\u6237\u7aefPPTP\u5305\u7684\u65f6\u95f4\uff0c\u5355\u4f4d\u4e3a\u79d2\uff0c\u9ed8\u8ba4\u662f10\u79d2\u3002\u8fd9\u4e2a\u9009\u9879\u4e3b\u8981\u7528\u4e8e\u9632\u6b62DoS\u653b\u51fb\u3002<\/p>\n

\u542f\u52a8\u8c03\u8bd5\u6a21\u5f0f<\/strong><\/div>\n
debug<\/pre>\n

\u529f\u80fd\uff1a\u542f\u52a8\u8c03\u8bd5\u6a21\u5f0f\u3002<\/p>\n

\u5e7f\u64ad\u5305\u4e2d\u7ee7\u529f\u80fd<\/strong><\/div>\n
bcrelay internal-interface<\/pre>\n

\u529f\u80fd\uff1a\u662f\u5426\u542f\u7528\u5e7f\u64ad\u5305\u4e2d\u7ee7\u529f\u80fd\u3002\u5982\u679c\u542f\u7528\uff0c\u5c06\u4eceinternal-interface\u63a5\u53e3\u6536\u5230\u7684\u5e7f\u64ad\u5305\u8f6c\u53d1\u7ed9\u5ba2\u6237\u7aef\u3002<\/p>\n

\u9650\u5236\u5ba2\u6237\u7aef\u8fde\u63a5<\/strong><\/div>\n
connections n<\/pre>\n

\u529f\u80fd\uff1a\u9650\u5236\u5ba2\u6237\u7aef\u8fde\u63a5\u6570\uff0c\u9ed8\u8ba4\u4e3a100\u3002\u5982\u679c\u7531pptpd\u5206\u914dIP\u7ed9\u5ba2\u6237\u7aef\uff0c\u5219\u5730\u5740\u5206\u5b8c\u540e\uff0c\u5ba2\u6237\u7aef\u8fde\u63a5\u4e0d\u80fd\u5efa\u7acb\u3002<\/p>\n

IP\u5730\u5740\u5206\u914d<\/strong><\/div>\n
delegate<\/pre>\n

\u529f\u80fd\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8be5\u9879\u4e0d\u5b58\u5728\u3002\u6b64\u65f6\uff0c\u7531pptpd\u8fdb\u7a0b\u7ba1\u7406IP\u5730\u5740\u7684\u5206\u914d\uff0c\u5b83\u5c06\u628a\u4e0b\u4e00\u4e2a\u53ef\u5206\u7684IP\u5206\u7ed9\u5ba2\u6237\u7aef\u3002\u5982\u679c\u5b58\u5728\u8be5\u9879\uff0c\u5219pptpd\u8fdb\u7a0b\u4e0d\u8d1f\u8d23IP\u5730\u5740\u7684\u5206\u914d\uff0c\u7531\u5ba2\u6237\u7aef\u5bf9\u5e94\u7684pptp\u8fdb\u7a0b\u91c7\u7528radius\u6216chap-secrets\u65b9\u5f0f\u8fdb\u884c\u5206\u914d\u3002<\/p>\n

\u6307\u5b9a\u672c\u5730\u7aefIP<\/strong><\/div>\n
localip ip-specification<\/pre>\n

\u529f\u80fd\uff1a\u5728PPP\u8fde\u63a5\u96a7\u9053\u7684\u672c\u5730\u7aef\u4f7f\u7528\u7684IP\u5730\u5740\u3002\u5982\u679c\u53ea\u6307\u5b9a\u4e00\u4e2a\uff0c\u5219\u6240\u6709\u7684\u5ba2\u6237\u7aef\u5bf9\u5e94\u7684\u670d\u52a1\u7aef\u90fd\u662f\u8fd9\u4e2a\u5730\u5740\uff1b\u5426\u5219\uff0c\u6bcf\u4e2a\u7528\u6237\u7aef\u90fd\u5fc5\u987b\u8981\u5bf9\u5e94\u4e0d\u540c\u7684\u670d\u52a1\u7aef\u5730\u5740\u3002\u670d\u52a1\u7aef\u5730\u5740\u7528\u5b8c\u540e\uff0c\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u5c06\u88ab\u62d2\u7edd\u3002\u5982\u679c\u4f7f\u7528delegate\u9009\u9879\uff0c\u5219\u8be5\u9879\u5931\u6548\u3002<\/p>\n

\u5206\u914d\u8fdc\u7a0b\u7aefIP\u5730\u5740<\/strong><\/div>\n
remoteip ip-specification<\/pre>\n

\u529f\u80fd\uff1a\u6307\u5b9a\u5206\u914d\u7ed9\u8fdc\u7a0b\u5ba2\u6237\u7aef\u7684IP\u5730\u5740\uff0c\u6bcf\u4e00\u4e2a\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u90fd\u5fc5\u987b\u5206\u914d\u5230\u4e00\u4e2aIP\u5730\u5740\uff0c\u8981\u8003\u8651\u4e0econnecyions\u9009\u9879\u76f8\u9002\u5e94\u3002\u5982\u679c\u4f7f\u7528\u4e86delegate\u9009\u9879\uff0c\u5219\u8be5\u9879\u5931\u6548\u3002<\/p>\n

\u5ba2\u6237\u7aef\u539f\u59cbIP\u4f20\u9012<\/strong><\/div>\n
noipparam<\/pre>\n

\u529f\u80fd\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5ba2\u6237\u7aef\u539f\u59cb\u7684IP\u5730\u5740\u662f\u4f20\u9012\u7ed9ip-up\u811a\u672c\u3002\u5982\u679c\u5b58\u5728\u8be5\u9879\uff0c\u5219\u4e0d\u4f20\u9012\u3002<\/p>\n

\u6307\u5b9a\u7f51\u7edc\u63a5\u53e3IP\u5730\u5740<\/strong><\/div>\n
listen ip-address<\/pre>\n

\u529f\u80fd\uff1a\u6307\u5b9a\u672c\u5730\u7f51\u7edc\u63a5\u53e3\u7684IP\u5730\u5740\uff0cpptpd\u8fdb\u7a0b\u5c06\u53ea\u76d1\u542c\u8fd9\u4e2a\u7f51\u7edc\u63a5\u53e3\u7684PPTP\u8fde\u63a5\u3002\u9ed8\u8ba4\u76d1\u542c\u6240\u6709\u672c\u5730\u63a5\u53e3\u3002<\/p>\n

PID\u6587\u4ef6<\/strong><\/div>\n
pidfile pid-file<\/pre>\n

\u529f\u80fd\uff1a\u6307\u5b9a\u8fdb\u7a0bPID\u6587\u4ef6\u7684\u4f4d\u7f6e\u548c\u6587\u4ef6\u540d\u3002<\/p>\n

PPTP\u8fde\u63a5\u901f\u5ea6<\/strong><\/div>\n
speed speed<\/pre>\n

\u529f\u80fd\uff1a\u6307\u5b9aPPTP\u8fde\u63a5\u7684\u901f\u5ea6\uff0c\u9ed8\u8ba4\u662f115200bps\u3002Linux\u7cfb\u7edf\u4e2d\uff0c\u8be5\u9009\u9879\u65e0\u6548\u3002<\/p>\n

\u672c\u6587\u539f\u521b\u5730\u5740\uff1ahttp:\/\/http:\/\/lrxjmw.cn\/pptp-setup-server.html<\/a>\u4f5c\u8005\uff1a\u51af\u742a\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb PPTP\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\u7684\u683c\u5f0f\u4e0e\u5176\u5b83\u8bb8\u591aUnix\u7a0b\u5e8f\u76f8\u4f3c\uff0c\u6bcf\u4e00\u884c\u5305\u542b\u4e00\u9879\u914d\u7f6e\u5185\u5bb9\uff0c\u4ee5\u914d\u7f6e\u9009\u9879\u540d\u79f0\u5f00\u59cb\uff0c\u540e\u9762 […]<\/p>\n","protected":false},"author":63,"featured_media":14898,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-14878","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/14878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=14878"}],"version-history":[{"count":12,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/14878\/revisions"}],"predecessor-version":[{"id":253998,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/14878\/revisions\/253998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/14898"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=14878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=14878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=14878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}