> ## Content Index
> Fetch the complete content index at: https://blog.k3s.9zf.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# 说下BuyVM安装PPTP
- URL: https://blog.k3s.9zf.net/-e8-af-b4-e4-b8-8bbuyvm-e5-ae-89-e8-a3-85pptp/
- Published: 2010-11-10T09:51:38.000Z
- Updated: 2010-11-10T09:51:38.000Z
- Author: liu
- Tags: Linux, #wordpress, #Import 2026-10-29 06:11

我装的是debian,但是按照网上说的死活不行,开始是错误619,后来连上后不能上网,最后解决了..没有把VPN的请求转发,网上说的不能用在BuyVM上不知道为什么,找了两天才找到,记录下.  
安装PPTP流程

> apt-get install pptp

按照网上说的配置pptp  
配置好后

> iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT –to-source xx.xx.xx.xx #xx为公网ip,前面的10.XX根据配置文件自己改

可惜每次重启后上面这个要重新执行,VPS新手,不会保存,以后再说,反正VPS也不常重启..  
web和vpn都搞定了,就剩ftp了,不过内存这样都150左右了,不折腾ftp了,将就用好了!