id: 45a95f88771945ca95a45c5e5ac704d5
parent_id: 
item_type: 1
item_id: 80ab2682a8334489a5bafe6c735ec91d
item_updated_time: 1764345477980
title_diff: "[{\"diffs\":[[1,\"Ubuntu 一键部署 PPTP - 吕小荣\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":22}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Ubuntu 一键部署 PPTP - 吕小荣</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/f74cc7f9-3c82-4d1a-9c49-c97745400b36/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"10944\\\"></a>\\\r\\\n<h1>Ubuntu 一键部署 PPTP - 吕小荣</h1>\\\r\\\n\\\r\\\n<div><span><div style=\\\"-evernote-webclip:true\\\"><br/><div><div><div><div><h1>Ubuntu 一键部署 PPTP</h1><div><div></div></div></div>\\\n          \\\n          <div>Published on 2015-01-11</div>\\\n          <p></p><div><img src=\\\":/f44803fa77d9471ba4f489b7beed0df7\\\" type=\\\"image/jpeg\\\" data-filename=\\\"2015-01-11-gfw.jpg\\\" alt=\\\"邮件提醒\\\" height=\\\"432\\\" width=\\\"576\\\"/></div><p></p>\\\n\\\n<p>GFW 真是无耻到家，丧心病狂，连 Gmail 都不放过。导致我们教会的好多兄弟姐妹无法正常沟通。</p>\\\n\\\n<p>作为教会的 IT 支持，我想到两个解决方案：</p>\\\n\\\n<ol>\\\n  <li>\\\n    <p>让他们去购买成熟的VPN 服务，比如云梯、曲径。</p>\\\n  </li>\\\n  <li>\\\n    <p>自己搭建一个 PPTP server，供100人使用。</p>\\\n  </li>\\\n</ol>\\\n\\\n<p>我们教会人数多，用户又比较善良，不会出现挂 VPN BT 下载这种行为，用第二种方案比较省钱。</p>\\\n\\\n<h2>1. 虚拟主机（VPS）</h2>\\\n\\\n<p>在 <a href=\\\"https://www.linode.com/\\\" target=\\\"_blank\\\">Linode</a> 购买低配套餐</p>\\\n\\\n<ul>\\\n  <li>10美元/月。</li>\\\n  <li>Tokyo 机房</li>\\\n  <li>Ubuntu 12.04 LTS 操作系统</li>\\\n</ul>\\\n\\\n<p>比较悲催的是 Linode 东京机房的 ip 好多已被墙，我重复购买了5次，才找到一个没有被 GFW 屏蔽的 ip。</p>\\\n\\\n<p></p><div><img src=\\\":/4605de538edc45dcbd5d250f3dddfc20\\\" type=\\\"image/jpeg\\\" data-filename=\\\"2015-01-11-linode.jpg\\\" alt=\\\"邮件提醒\\\" height=\\\"149\\\" width=\\\"576\\\"/></div><p></p>\\\n\\\n<h2>2. 一键部署 PPTP server</h2>\\\n\\\n<p>在 Github 上有一个比较干净的 shell 脚本 <a href=\\\"https://github.com/viljoviitanen/setup-simple-pptp-vpn\\\" target=\\\"_blank\\\">Github: Setup Simple PPTP VPN server for Ubuntu and Debian</a>，下载后使用 root 执行，就安装成功了。</p>\\\n\\\n<p>真正的傻瓜式操作，一键安装。</p>\\\n\\\n<p>如果对脚本安全性有疑问，你可以先看一下源码，再执行这个脚本。</p>\\\n\\\n<div><pre><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">wget https://raw.github.com/viljoviitanen/setup-simple-pptp-vpn/master/setup.sh\\\nsudo sh setup.sh</span>\\\n</code></pre>\\\n</div>\\\n\\\n\\\n\\\n<p>执行完毕后，再去这个文件配置一下用PPTP 用户和密码就可以了。</p>\\\n\\\n<div><pre><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">#/etc/ppp/chap-secrets</span>\\\n<span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"># Secrets for authentication using CHAP\\\n# client server secret IP addresses\\\nvpn pptpd fAj-JwC-rLu *\\\nhelloworld * 79lav7w59eeqeknp *\\\nyangyihappy * 16ksqv4i2uk85m4a *</span>\\\n</code></pre>\\\n</div>\\\n\\\n<p>配置完账户，重启 pptp。</p>\\\n\\\n<div><pre><code>service pptpd restart\\\n</code></pre>\\\n</div>\\\n\\\n<p>it works.</p>\\\n\\\n\\\n\\\n<ol>\\\n  <li><a href=\\\"https://github.com/viljoviitanen/setup-simple-pptp-vpn\\\" target=\\\"_blank\\\">Github: Setup Simple PPTP VPN server for Ubuntu and Debian</a></li>\\\n</ol>\\\n\\\n\\\n          <div>\\\n  吕小荣\\\n  at 21:54<br/>\\\n  <a href=\\\"https://github.com/xiaoronglv/xiaoronglv.github.io/blob/master/_posts/2015-01-11-install-pptp-in-ubuntu.md\\\" target=\\\"_blank\\\">Edit this page</a>\\\n</div>\\\n\\\n        </div></div></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":3042}]"
metadata_diff: {"new":{"id":"80ab2682a8334489a5bafe6c735ec91d","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345766745,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:13:00.308Z
created_time: 2025-11-28T16:13:00.308Z
type_: 13